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.298/2.298, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.001016/0.001016, allocations: 176 kB / 492.3 MB, free: 0.6094 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.617/1.617, allocations: 221.3 MB / 0.7871 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009105, allocations: 90.52 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.986e-05, allocations: 6.266 kB / 1.074 GB, free: 180.2 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3213, allocations: 142.3 MB / 1.213 GB, free: 38.36 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.096/1.418, allocations: 153.1 MB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/1.418, allocations: 78.72 kB / 1.362 GB, free: 18.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.07337/1.491, allocations: 23.74 MB / 1.385 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.272e-06/1.491, allocations: 0 / 1.385 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001026/1.491, allocations: 19.38 kB / 1.385 GB, free: 30.09 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.001342/1.493, allocations: 0.7676 MB / 1.386 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.493, allocations: 15.66 kB / 1.386 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.822e-05/1.493, allocations: 42.17 kB / 1.386 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002407/1.493, allocations: 73.92 kB / 1.386 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/1.495, allocations: 0.6919 MB / 1.387 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/1.495, allocations: 14.64 kB / 1.387 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/1.495, allocations: 11.06 kB / 1.387 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/1.495, allocations: 199.9 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/1.495, allocations: 0 / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/1.495, allocations: 7.5 kB / 1.387 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/1.495, allocations: 3.984 kB / 1.387 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/1.495, allocations: 101.7 kB / 1.387 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/1.497, allocations: 1.117 MB / 1.388 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003102/1.497, allocations: 271.1 kB / 1.389 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/1.497, allocations: 102.9 kB / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/1.497, allocations: 7.594 kB / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002778/1.497, allocations: 231.7 kB / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.884e-06/1.497, allocations: 0 / 1.389 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0005849/1.498, allocations: 334.1 kB / 1.389 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/1.498, allocations: 169.6 kB / 1.389 GB, free: 27.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.499, allocations: 0.948 MB / 1.39 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/1.499, allocations: 36.2 kB / 1.39 GB, free: 27.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.5, allocations: 287 kB / 1.391 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-05/1.5, allocations: 80.5 kB / 1.391 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/1.5, allocations: 14.27 kB / 1.391 GB, free: 27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/1.5, allocations: 324.3 kB / 1.391 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003232/1.5, allocations: 249.9 kB / 1.391 GB, free: 26.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/1.5, allocations: 348.3 kB / 1.392 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/1.501, allocations: 275.2 kB / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/1.501, allocations: 0 / 1.392 GB, free: 26.51 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009195/1.502, allocations: 0.7435 MB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/1.502, allocations: 8.703 kB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.502, allocations: 3.844 kB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.502, allocations: 3.844 kB / 1.393 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/1.502, allocations: 115.8 kB / 1.393 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/1.502, allocations: 11.94 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/1.503, allocations: 47.62 kB / 1.393 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/1.503, allocations: 36.92 kB / 1.393 GB, free: 26.29 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.0001532/1.503, allocations: 152.2 kB / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001053/1.503, allocations: 69.94 kB / 1.393 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/1.503, allocations: 391.1 kB / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/1.503, allocations: 3.875 kB / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.503, allocations: 3.969 kB / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/1.504, allocations: 0 / 1.393 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004299/1.504, allocations: 491.1 kB / 1.394 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.504, allocations: 3.719 kB / 1.394 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.494e-05/1.504, allocations: 27.2 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/1.504, allocations: 3.844 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/1.504, allocations: 6.844 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/1.504, allocations: 11.47 kB / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.504, allocations: 0 / 1.394 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/1.505, allocations: 470.5 kB / 1.394 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/1.505, allocations: 172.5 kB / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.652e-05/1.505, allocations: 14.67 kB / 1.395 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/1.505, allocations: 18.48 kB / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/1.505, allocations: 22.62 kB / 1.395 GB, free: 25.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/1.505, allocations: 18.45 kB / 1.395 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006601/1.506, allocations: 0.6085 MB / 1.395 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/1.506, allocations: 4 kB / 1.395 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004711/1.506, allocations: 148.6 kB / 1.395 GB, free: 25.11 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.001795/1.508, allocations: 1.623 MB / 1.397 GB, free: 23.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006308/1.509, allocations: 402 kB / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.509, allocations: 0 / 1.397 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001574/1.509, allocations: 118 kB / 1.397 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/1.51, allocations: 184.9 kB / 1.398 GB, free: 23.83 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.512, allocations: 1.073 MB / 1.399 GB, free: 23.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/1.512, allocations: 0.9464 MB / 1.4 GB, free: 22.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003094/1.513, allocations: 115.2 kB / 1.4 GB, free: 22.5 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/1.513, allocations: 234.6 kB / 1.4 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.513, allocations: 0 / 1.4 GB, free: 22.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/1.542, allocations: 13.99 MB / 1.414 GB, free: 9.758 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/1.543, allocations: 222 kB / 1.414 GB, free: 9.535 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/3.928, allocations: 0 / 1.414 GB, free: 9.535 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