Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.503/2.503, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001367/0.001367, allocations: 192.6 kB / 487.4 MB, free: 5.07 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.874/1.874, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 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.001159/0.00116, allocations: 108.6 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.052e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.079/1.392, allocations: 149.2 MB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.393, allocations: 85.94 kB / 1.352 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006034/1.399, allocations: 1.77 MB / 1.354 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.374e-06/1.399, allocations: 0 / 1.354 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.228e-06/1.399, allocations: 2.5 kB / 1.354 GB, free: 33.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006748/1.399, allocations: 425.4 kB / 1.354 GB, free: 33.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/1.399, allocations: 15.53 kB / 1.354 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/1.399, allocations: 20.48 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/1.4, allocations: 180.6 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/1.4, allocations: 3.844 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/1.4, allocations: 3.875 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/1.4, allocations: 43.05 kB / 1.354 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/1.4, allocations: 70.39 kB / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.4, allocations: 0 / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/1.4, allocations: 0 / 1.354 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/1.4, allocations: 7.859 kB / 1.354 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/1.401, allocations: 379 kB / 1.355 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.357e-05/1.401, allocations: 54.45 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.148e-05/1.401, allocations: 23.92 kB / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/1.401, allocations: 0 / 1.355 GB, free: 32.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/1.401, allocations: 35.08 kB / 1.355 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/1.401, allocations: 0 / 1.355 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5): time 0.0002022/1.401, allocations: 63.28 kB / 1.355 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/1.401, allocations: 56.03 kB / 1.355 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/1.401, allocations: 121.6 kB / 1.355 GB, free: 32.69 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/1.401, allocations: 25.7 kB / 1.355 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/1.401, allocations: 109.9 kB / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/1.401, allocations: 16.78 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.923e-06/1.401, allocations: 0 / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.402, allocations: 322.4 kB / 1.355 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.904e-05/1.402, allocations: 23.53 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.353e-05/1.402, allocations: 22.5 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.071e-05/1.402, allocations: 9.266 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/1.402, allocations: 3.953 kB / 1.356 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001037/1.402, allocations: 70.41 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.402, allocations: 3.812 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.402, allocations: 5.438 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/1.402, allocations: 0 / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/1.402, allocations: 15.17 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.402, allocations: 0.8594 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001686/1.402, allocations: 30.66 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/1.402, allocations: 4.594 kB / 1.356 GB, free: 32.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.821e-05/1.402, allocations: 112.9 kB / 1.356 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001129/1.403, allocations: 76.67 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.697e-05/1.403, allocations: 7.719 kB / 1.356 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/1.403, allocations: 12.78 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/1.403, allocations: 0 / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.403, allocations: 5.594 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/1.403, allocations: 0.5625 kB / 1.356 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/1.403, allocations: 176.1 kB / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/1.403, allocations: 0 / 1.356 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.071e-05/1.403, allocations: 14.77 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/1.403, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/1.403, allocations: 0.7969 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.403, allocations: 0 / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/1.403, allocations: 0.5625 kB / 1.356 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/1.403, allocations: 165.4 kB / 1.356 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/1.403, allocations: 90.61 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/1.403, allocations: 3.938 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.403, allocations: 31.28 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/1.403, allocations: 15.41 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/1.403, allocations: 4.641 kB / 1.356 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.437e-05/1.404, allocations: 101.2 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.01e-07/1.404, allocations: 4 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002154/1.404, allocations: 19.16 kB / 1.356 GB, free: 31.54 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.000453/1.404, allocations: 0.7002 MB / 1.357 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001174/1.404, allocations: 44.62 kB / 1.357 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.404, allocations: 0 / 1.357 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.666e-05/1.404, allocations: 27.38 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/1.405, allocations: 9.781 kB / 1.357 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004284/1.405, allocations: 144.1 kB / 1.357 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/1.405, allocations: 0.7046 MB / 1.358 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.918e-05/1.405, allocations: 9.188 kB / 1.358 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/1.406, allocations: 29.23 kB / 1.358 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of SimCode: time 3.81e-07/1.406, allocations: 0 / 1.358 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/1.427, allocations: 1.746 MB / 1.36 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000198/1.427, allocations: 154.5 kB / 1.36 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/3.541, allocations: 2.938 kB / 1.36 GB, free: 29.74 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat does not exist to compare? outputFormat=mat