Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.374/2.374, allocations: 390.5 MB / 398 MB, free: 10.95 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.001146/0.001147, allocations: 175.7 kB / 491.2 MB, free: 1.594 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.696/1.696, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.001085/0.001085, allocations: 91.95 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.257e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2901, allocations: 143 MB / 1.212 GB, free: 39.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.877/1.167, allocations: 153.3 MB / 1.362 GB, free: 17.56 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.167, allocations: 81.27 kB / 1.362 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05699/1.224, allocations: 23.54 MB / 1.385 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.124e-06/1.225, allocations: 0 / 1.385 GB, free: 29.03 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.583e-05/1.225, allocations: 19.56 kB / 1.385 GB, free: 29.02 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.001361/1.226, allocations: 0.7713 MB / 1.386 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.226, allocations: 11.53 kB / 1.386 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/1.226, allocations: 77.58 kB / 1.386 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/1.227, allocations: 0.6921 MB / 1.387 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.327e-05/1.228, allocations: 7.891 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/1.228, allocations: 11.52 kB / 1.387 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/1.228, allocations: 92.27 kB / 1.387 GB, free: 27.94 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/1.228, allocations: 184 kB / 1.387 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.228, allocations: 3.938 kB / 1.387 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/1.228, allocations: 4 kB / 1.387 GB, free: 27.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/1.228, allocations: 7.797 kB / 1.387 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001318/1.229, allocations: 1.079 MB / 1.388 GB, free: 27.08 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002664/1.23, allocations: 250.5 kB / 1.388 GB, free: 26.94 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/1.23, allocations: 95.09 kB / 1.388 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/1.23, allocations: 7.938 kB / 1.388 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002559/1.23, allocations: 214.6 kB / 1.389 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=25): time 2.716e-06/1.23, allocations: 0 / 1.389 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=25): time 0.0005035/1.231, allocations: 335.8 kB / 1.389 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/1.231, allocations: 161.6 kB / 1.389 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009555/1.232, allocations: 0.9102 MB / 1.39 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.595e-05/1.232, allocations: 25.7 kB / 1.39 GB, free: 26.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/1.232, allocations: 291.5 kB / 1.39 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/1.232, allocations: 76.66 kB / 1.39 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/1.232, allocations: 3.984 kB / 1.39 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.232, allocations: 324.8 kB / 1.391 GB, free: 25.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/1.232, allocations: 240.8 kB / 1.391 GB, free: 25.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/1.233, allocations: 326.4 kB / 1.391 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006489/1.233, allocations: 303.6 kB / 1.391 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.233, allocations: 3.844 kB / 1.391 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001106/1.235, allocations: 0.7356 MB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/1.235, allocations: 7.688 kB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/1.235, allocations: 3.844 kB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.235, allocations: 11.75 kB / 1.392 GB, free: 25.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003649/1.235, allocations: 111.8 kB / 1.392 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.235, allocations: 7.828 kB / 1.392 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/1.235, allocations: 30.86 kB / 1.392 GB, free: 25.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.479e-05/1.235, allocations: 37.42 kB / 1.392 GB, free: 25.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.0001255/1.236, allocations: 142.1 kB / 1.393 GB, free: 25.16 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004047/1.236, allocations: 333.1 kB / 1.393 GB, free: 25.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/1.236, allocations: 77.14 kB / 1.393 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/1.236, allocations: 356.4 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/1.237, allocations: 3.844 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.237, allocations: 0 / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.237, allocations: 7.828 kB / 1.393 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003626/1.237, allocations: 456.9 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.237, allocations: 0 / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.675e-05/1.237, allocations: 34.2 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/1.237, allocations: 3.844 kB / 1.394 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.797e-05/1.237, allocations: 7.859 kB / 1.394 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.237, allocations: 7.922 kB / 1.394 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.237, allocations: 0 / 1.394 GB, free: 24.63 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/1.237, allocations: 450 kB / 1.394 GB, free: 24.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/1.238, allocations: 177.4 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.575e-05/1.238, allocations: 10.55 kB / 1.394 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/1.238, allocations: 15.7 kB / 1.394 GB, free: 24.22 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/1.238, allocations: 22.75 kB / 1.394 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/1.238, allocations: 22.91 kB / 1.394 GB, free: 24.21 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0005587/1.239, allocations: 0.5666 MB / 1.395 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.239, allocations: 0 / 1.395 GB, free: 24.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004393/1.239, allocations: 130.2 kB / 1.395 GB, free: 24.04 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.001572/1.241, allocations: 1.571 MB / 1.397 GB, free: 22.85 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004874/1.241, allocations: 378.8 kB / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/1.241, allocations: 0 / 1.397 GB, free: 22.82 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/1.241, allocations: 110.6 kB / 1.397 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/1.242, allocations: 186.2 kB / 1.397 GB, free: 22.75 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/1.244, allocations: 1.048 MB / 1.398 GB, free: 22.28 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/1.244, allocations: 0.9423 MB / 1.399 GB, free: 21.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002877/1.244, allocations: 118.8 kB / 1.399 GB, free: 21.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/1.245, allocations: 234.6 kB / 1.4 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of SimCode: time 3.1e-07/1.245, allocations: 0 / 1.4 GB, free: 21.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03618/1.281, allocations: 12.97 MB / 1.412 GB, free: 10.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002829/1.281, allocations: 192.4 kB / 1.412 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/3.81, allocations: 0 / 1.412 GB, free: 10.59 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat does not exist to compare? outputFormat=mat