Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008434/0.0008434, allocations: 92.31 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009026/0.0009027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.462/2.462, allocations: 390.4 MB / 0.6655 GB, free: 2.969 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7458/0.7462, allocations: 142.3 MB / 0.9539 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime): time 0.0008028/0.747, allocations: 392.1 kB / 0.9542 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.7481, allocations: 1.135 MB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.7482, allocations: 1.062 kB / 0.9553 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.7482, allocations: 7.922 kB / 0.9554 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.879e-05/0.7483, allocations: 6.25 kB / 0.9554 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.7487, allocations: 118.5 kB / 0.9555 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.7488, allocations: 123.5 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.747e-05/0.7489, allocations: 8.016 kB / 0.9556 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.749, allocations: 52.83 kB / 0.9557 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.97e-05/0.749, allocations: 40.91 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.7491, allocations: 7.875 kB / 0.9557 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.7491, allocations: 20.89 kB / 0.9557 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.207e-05/0.7492, allocations: 24.19 kB / 0.9557 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.279e-05/0.7492, allocations: 41.08 kB / 0.9558 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.7493, allocations: 91.38 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.7493, allocations: 0 / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7494, allocations: 1.125 kB / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.7494, allocations: 0 / 0.9559 GB, free: 6.555 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004833/0.7499, allocations: 392.9 kB / 0.9562 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.7499, allocations: 8.844 kB / 0.9563 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.7499, allocations: 40.55 kB / 0.9563 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.75, allocations: 15.89 kB / 0.9563 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.7503, allocations: 215.7 kB / 0.9565 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.7504, allocations: 8.766 kB / 0.9565 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.7504, allocations: 14.84 kB / 0.9565 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.7506, allocations: 84.3 kB / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.7506, allocations: 0 / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.7506, allocations: 1.125 kB / 0.9566 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.7506, allocations: 8.859 kB / 0.9566 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.291e-05/0.7507, allocations: 48.53 kB / 0.9567 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004756/0.7512, allocations: 356.8 kB / 0.957 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.7514, allocations: 98.11 kB / 0.9571 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.874e-05/0.7515, allocations: 42.97 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.7515, allocations: 1.469 kB / 0.9571 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.7517, allocations: 132.9 kB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.7517, allocations: 1.125 kB / 0.9573 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0003525/0.7521, allocations: 205.8 kB / 0.9575 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.7521, allocations: 58.97 kB / 0.9575 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.7522, allocations: 115 kB / 0.9576 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.7522, allocations: 33.8 kB / 0.9577 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.7523, allocations: 82.98 kB / 0.9577 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.7523, allocations: 36.94 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.7523, allocations: 2.531 kB / 0.9578 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.7524, allocations: 320 kB / 0.9581 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.99e-05/0.7525, allocations: 53.84 kB / 0.9581 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001119/0.7526, allocations: 92.27 kB / 0.9582 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.7527, allocations: 72.31 kB / 0.9583 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.7527, allocations: 0 / 0.9583 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002888/0.753, allocations: 218.4 kB / 0.9585 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.7531, allocations: 35.77 kB / 0.9585 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.7531, allocations: 2.188 kB / 0.9585 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.7531, allocations: 1.656 kB / 0.9585 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.7532, allocations: 16.17 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.7532, allocations: 1.344 kB / 0.9586 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001853/0.7534, allocations: 42.28 kB / 0.9586 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.7534, allocations: 11.62 kB / 0.9586 GB, free: 4.098 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.691e-05/0.7535, allocations: 126.5 kB / 0.9587 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.7535, allocations: 16.11 kB / 0.9587 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.015e-05/0.7535, allocations: 10.31 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.7535, allocations: 1.062 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.7535, allocations: 8.906 kB / 0.9588 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.7536, allocations: 3.984 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003334/0.7539, allocations: 422.5 kB / 0.9592 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7539, allocations: 0 / 0.9592 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.7539, allocations: 3.812 kB / 0.9592 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.7539, allocations: 1.156 kB / 0.9592 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.754, allocations: 9.359 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.754, allocations: 1.188 kB / 0.9592 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.754, allocations: 3.938 kB / 0.9592 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.7542, allocations: 260.7 kB / 0.9594 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.7543, allocations: 91.91 kB / 0.9595 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.7543, allocations: 6.359 kB / 0.9595 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.307e-05/0.7544, allocations: 8.719 kB / 0.9595 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.7544, allocations: 13.66 kB / 0.9596 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.7545, allocations: 10.05 kB / 0.9596 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.887e-05/0.7545, allocations: 92.06 kB / 0.9597 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7545, allocations: 0 / 0.9597 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002812/0.7548, allocations: 32.56 kB / 0.9597 GB, free: 3.141 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004509/0.7552, allocations: 0.8141 MB / 0.9605 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000269/0.7555, allocations: 189.7 kB / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.7555, allocations: 0 / 0.9607 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.881e-05/0.7556, allocations: 70.41 kB / 0.9607 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.7559, allocations: 15.98 kB / 0.9607 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009334/0.7568, allocations: 0.6696 MB / 0.9614 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001155/0.757, allocations: 0.6942 MB / 0.9621 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.138e-05/0.757, allocations: 14.27 kB / 0.9621 GB, free: 0.9883 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.7571, allocations: 21.53 kB / 0.9621 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7571, allocations: 0 / 0.9621 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01252/0.7696, allocations: 2.434 MB / 0.9645 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.7698, allocations: 206.6 kB / 0.9647 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.56, allocations: 2.875 kB / 0.9647 GB, free: 15.6 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat