Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.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.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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.237/2.237, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.0009544/0.0009543, allocations: 188.1 kB / 492.3 MB, free: 0.6133 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.507/1.507, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.0009381/0.0009382, allocations: 89.77 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.491e-05, allocations: 8 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.317, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.379, allocations: 153.1 MB / 1.362 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.38, allocations: 75.14 kB / 1.362 GB, free: 19.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05831/1.438, allocations: 23.74 MB / 1.385 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.403e-06/1.438, allocations: 4 kB / 1.385 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.813e-05/1.438, allocations: 15.72 kB / 1.385 GB, free: 30.23 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.001244/1.439, allocations: 0.7723 MB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.439, allocations: 7.75 kB / 1.386 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/1.44, allocations: 45.08 kB / 1.386 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/1.44, allocations: 81.2 kB / 1.386 GB, free: 29.51 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001248/1.441, allocations: 0.6904 MB / 1.387 GB, free: 29.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.441, allocations: 10.84 kB / 1.387 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/1.441, allocations: 14.5 kB / 1.387 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/1.441, allocations: 199.8 kB / 1.387 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/1.441, allocations: 0 / 1.387 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/1.441, allocations: 7.797 kB / 1.387 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/1.441, allocations: 3.656 kB / 1.387 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/1.442, allocations: 101.8 kB / 1.387 GB, free: 29 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/1.443, allocations: 1.115 MB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/1.443, allocations: 266.5 kB / 1.389 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/1.443, allocations: 110.5 kB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.254e-05/1.443, allocations: 3.812 kB / 1.389 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003268/1.444, allocations: 229.7 kB / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 1.633e-06/1.444, allocations: 0 / 1.389 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0005967/1.444, allocations: 342.5 kB / 1.389 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/1.444, allocations: 165 kB / 1.389 GB, free: 27.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/1.446, allocations: 0.9463 MB / 1.39 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.718e-05/1.446, allocations: 36.36 kB / 1.39 GB, free: 27.31 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/1.446, allocations: 295.8 kB / 1.391 GB, free: 27.19 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/1.446, allocations: 75.38 kB / 1.391 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/1.446, allocations: 12.69 kB / 1.391 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.446, allocations: 333.6 kB / 1.391 GB, free: 26.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/1.446, allocations: 246.7 kB / 1.391 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/1.447, allocations: 347 kB / 1.392 GB, free: 26.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003874/1.447, allocations: 269.1 kB / 1.392 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.447, allocations: 4 kB / 1.392 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009966/1.448, allocations: 0.7334 MB / 1.393 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/1.448, allocations: 11.42 kB / 1.393 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.448, allocations: 3.984 kB / 1.393 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/1.448, allocations: 7.688 kB / 1.393 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/1.449, allocations: 110.3 kB / 1.393 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.449, allocations: 11.7 kB / 1.393 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/1.449, allocations: 49.45 kB / 1.393 GB, free: 26.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/1.449, allocations: 37.61 kB / 1.393 GB, free: 26.43 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.0001303/1.449, allocations: 145.2 kB / 1.393 GB, free: 26.31 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.01e-05/1.449, allocations: 84.47 kB / 1.393 GB, free: 26.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/1.45, allocations: 380.2 kB / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.45, allocations: 3.781 kB / 1.393 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.45, allocations: 11.72 kB / 1.393 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/1.45, allocations: 3.984 kB / 1.393 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/1.45, allocations: 486 kB / 1.394 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/1.45, allocations: 3.719 kB / 1.394 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.504e-05/1.45, allocations: 34.61 kB / 1.394 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/1.45, allocations: 0 / 1.394 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/1.45, allocations: 15.23 kB / 1.394 GB, free: 25.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/1.45, allocations: 3.953 kB / 1.394 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.45, allocations: 3.844 kB / 1.394 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/1.451, allocations: 454.3 kB / 1.394 GB, free: 25.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/1.451, allocations: 177.3 kB / 1.395 GB, free: 25.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.089e-05/1.451, allocations: 14.14 kB / 1.395 GB, free: 25.44 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/1.451, allocations: 18.64 kB / 1.395 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/1.452, allocations: 26.03 kB / 1.395 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/1.452, allocations: 15.27 kB / 1.395 GB, free: 25.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008185/1.452, allocations: 0.6145 MB / 1.395 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.71e-07/1.452, allocations: 0 / 1.395 GB, free: 25.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005579/1.453, allocations: 146.7 kB / 1.395 GB, free: 25.25 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.002429/1.455, allocations: 1.611 MB / 1.397 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006994/1.456, allocations: 405 kB / 1.397 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.456, allocations: 3.719 kB / 1.397 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001812/1.456, allocations: 112.1 kB / 1.397 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/1.457, allocations: 187.8 kB / 1.398 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/1.459, allocations: 1.077 MB / 1.399 GB, free: 23.5 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006529/1.46, allocations: 0.9482 MB / 1.4 GB, free: 22.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003873/1.46, allocations: 121.4 kB / 1.4 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003117/1.461, allocations: 227.4 kB / 1.4 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of SimCode: time 2.375e-06/1.461, allocations: 0 / 1.4 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/1.491, allocations: 13.96 MB / 1.414 GB, free: 9.875 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000288/1.492, allocations: 200 kB / 1.414 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/3.78, allocations: 0 / 1.414 GB, free: 9.656 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat