Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.423/2.423, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 172.9 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.677/1.677, allocations: 221.5 MB / 0.7824 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009652/0.000965, allocations: 98.86 kB / 0.9219 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.155e-05/2.157e-05, allocations: 8 kB / 1.067 GB, free: 185.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.325, allocations: 142.4 MB / 1.206 GB, free: 43.8 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.386, allocations: 152.5 MB / 1.355 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/1.386, allocations: 77.23 kB / 1.355 GB, free: 18.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05698/1.443, allocations: 23.55 MB / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.505e-06/1.443, allocations: 0 / 1.378 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.009e-05/1.444, allocations: 19.62 kB / 1.378 GB, free: 30.37 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001185/1.445, allocations: 0.7711 MB / 1.379 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.445, allocations: 16.19 kB / 1.379 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/1.445, allocations: 73.41 kB / 1.379 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.446, allocations: 0.6988 MB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/1.446, allocations: 3.875 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/1.446, allocations: 7.656 kB / 1.38 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001788/1.446, allocations: 94.98 kB / 1.38 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/1.447, allocations: 186 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.447, allocations: 0 / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/1.447, allocations: 0 / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/1.447, allocations: 3.812 kB / 1.38 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001379/1.448, allocations: 1.087 MB / 1.381 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/1.449, allocations: 249.1 kB / 1.381 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/1.449, allocations: 100.3 kB / 1.381 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.449, allocations: 11.88 kB / 1.381 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/1.449, allocations: 207.3 kB / 1.381 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.523e-06/1.449, allocations: 0 / 1.381 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0005165/1.449, allocations: 323.6 kB / 1.382 GB, free: 28 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.917e-05/1.45, allocations: 165.7 kB / 1.382 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001/1.451, allocations: 0.9042 MB / 1.383 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/1.451, allocations: 36.73 kB / 1.383 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002004/1.451, allocations: 294.1 kB / 1.383 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/1.451, allocations: 76.62 kB / 1.383 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.451, allocations: 0 / 1.383 GB, free: 27.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001278/1.451, allocations: 331.3 kB / 1.384 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002766/1.451, allocations: 228.2 kB / 1.384 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/1.452, allocations: 327.6 kB / 1.384 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/1.452, allocations: 314 kB / 1.384 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/1.452, allocations: 0 / 1.384 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00115/1.454, allocations: 0.7337 MB / 1.385 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/1.454, allocations: 3.844 kB / 1.385 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/1.454, allocations: 3.906 kB / 1.385 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/1.454, allocations: 7.812 kB / 1.385 GB, free: 26.69 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/1.454, allocations: 125.5 kB / 1.385 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/1.454, allocations: 7.469 kB / 1.385 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.454, allocations: 31.14 kB / 1.385 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/1.454, allocations: 37.67 kB / 1.385 GB, free: 26.63 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001384/1.455, allocations: 138.3 kB / 1.385 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004022/1.455, allocations: 319.4 kB / 1.386 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/1.455, allocations: 73.72 kB / 1.386 GB, free: 26.37 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005212/1.456, allocations: 364.3 kB / 1.386 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.456, allocations: 3.906 kB / 1.386 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/1.456, allocations: 11.73 kB / 1.386 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.456, allocations: 0 / 1.386 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/1.456, allocations: 451 kB / 1.387 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/1.456, allocations: 7.891 kB / 1.387 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/1.456, allocations: 26.28 kB / 1.387 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/1.456, allocations: 3.938 kB / 1.387 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/1.456, allocations: 11.95 kB / 1.387 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.456, allocations: 3.875 kB / 1.387 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/1.456, allocations: 7.938 kB / 1.387 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004852/1.457, allocations: 450.3 kB / 1.387 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/1.457, allocations: 179.1 kB / 1.387 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/1.457, allocations: 3.906 kB / 1.387 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/1.457, allocations: 15.58 kB / 1.387 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/1.457, allocations: 21.84 kB / 1.387 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/1.457, allocations: 27.02 kB / 1.387 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006009/1.458, allocations: 0.5713 MB / 1.388 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.458, allocations: 0 / 1.388 GB, free: 25.4 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004821/1.458, allocations: 139.5 kB / 1.388 GB, free: 25.38 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001755/1.46, allocations: 1.566 MB / 1.39 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005167/1.461, allocations: 374.5 kB / 1.39 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.461, allocations: 320 / 1.39 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.461, allocations: 117.7 kB / 1.39 GB, free: 24.15 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008407/1.462, allocations: 190.3 kB / 1.39 GB, free: 24.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/1.463, allocations: 1.046 MB / 1.391 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/1.464, allocations: 0.943 MB / 1.392 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000341/1.464, allocations: 111.4 kB / 1.392 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/1.464, allocations: 237.6 kB / 1.392 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of SimCode: time 3.51e-07/1.464, allocations: 0 / 1.392 GB, free: 22.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03423/1.499, allocations: 12.98 MB / 1.405 GB, free: 16.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/1.499, allocations: 220.2 kB / 1.405 GB, free: 16.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.349/3.848, allocations: 1.969 kB / 1.405 GB, free: 16.33 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime_fmu --startTime=-129600 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTableNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTableNegativeStartTime_res.mat does not exist to compare? outputFormat=mat