Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.5/2.5, allocations: 390.5 MB / 398 MB, free: 10.89 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.001338/0.001338, allocations: 180.8 kB / 491.2 MB, free: 1.551 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.778/1.778, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.001008/0.001008, allocations: 103.8 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.032e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3419, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.474, allocations: 151.8 MB / 1.361 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.474, allocations: 89.7 kB / 1.361 GB, free: 17.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01098/1.485, allocations: 4.443 MB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.844e-06/1.485, allocations: 4 kB / 1.365 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.01e-05/1.485, allocations: 7.781 kB / 1.365 GB, free: 32.57 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007055/1.486, allocations: 0.5357 MB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/1.486, allocations: 7.75 kB / 1.366 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.086e-05/1.486, allocations: 35 kB / 1.366 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/1.487, allocations: 293.7 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.487, allocations: 7.344 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/1.487, allocations: 16.12 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003003/1.487, allocations: 162.8 kB / 1.366 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003572/1.487, allocations: 225.5 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/1.487, allocations: 4 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.497e-05/1.487, allocations: 0 / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/1.487, allocations: 10.62 kB / 1.366 GB, free: 31.83 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001162/1.489, allocations: 0.8758 MB / 1.367 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/1.489, allocations: 257.6 kB / 1.367 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/1.489, allocations: 98.11 kB / 1.368 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.489, allocations: 8.125 kB / 1.368 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/1.489, allocations: 134.3 kB / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/1.489, allocations: 0 / 1.368 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0002904/1.49, allocations: 163.8 kB / 1.368 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/1.49, allocations: 102.8 kB / 1.368 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/1.49, allocations: 199.9 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.021e-05/1.49, allocations: 25.7 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.49, allocations: 171 kB / 1.368 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/1.49, allocations: 63.73 kB / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-06/1.49, allocations: 0 / 1.368 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.49, allocations: 338.1 kB / 1.369 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.74e-05/1.49, allocations: 49.41 kB / 1.369 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.55e-05/1.49, allocations: 106.1 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/1.49, allocations: 61.09 kB / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/1.49, allocations: 224 / 1.369 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002268/1.491, allocations: 184.4 kB / 1.369 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/1.491, allocations: 189 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/1.491, allocations: 0 / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/1.491, allocations: 0 / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/1.491, allocations: 51.55 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/1.491, allocations: 2.109 kB / 1.369 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001626/1.491, allocations: 36.3 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/1.491, allocations: 9.859 kB / 1.369 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-06/1.491, allocations: 7.969 kB / 1.369 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001872/1.491, allocations: 123 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-06/1.491, allocations: 3.781 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/1.491, allocations: 2.672 kB / 1.37 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/1.492, allocations: 44.42 kB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/1.492, allocations: 4.062 kB / 1.37 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/1.492, allocations: 28.03 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/1.492, allocations: 12.78 kB / 1.37 GB, free: 30.14 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.896e-05/1.492, allocations: 104.9 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002107/1.492, allocations: 166.9 kB / 1.37 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.492, allocations: 25.94 kB / 1.37 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/1.492, allocations: 185.3 kB / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/1.492, allocations: 0 / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.42e-05/1.492, allocations: 0 / 1.37 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/1.492, allocations: 10.27 kB / 1.37 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006067/1.493, allocations: 0.5817 MB / 1.371 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/1.493, allocations: 3.875 kB / 1.371 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/1.493, allocations: 51.17 kB / 1.371 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/1.493, allocations: 7.828 kB / 1.371 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.526e-05/1.493, allocations: 4.031 kB / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/1.493, allocations: 0 / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.493, allocations: 0 / 1.371 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/1.494, allocations: 373.3 kB / 1.371 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/1.494, allocations: 100.3 kB / 1.371 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/1.494, allocations: 0 / 1.371 GB, free: 29.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/1.494, allocations: 31.89 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/1.494, allocations: 16.97 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.494, allocations: 3.844 kB / 1.371 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001296/1.494, allocations: 163 kB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.71e-07/1.494, allocations: 3.938 kB / 1.371 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003534/1.495, allocations: 80.78 kB / 1.371 GB, free: 29.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0006534/1.495, allocations: 0.9751 MB / 1.372 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003134/1.496, allocations: 219.6 kB / 1.373 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.496, allocations: 4 kB / 1.373 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/1.496, allocations: 76.2 kB / 1.373 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/1.496, allocations: 26.12 kB / 1.373 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007699/1.497, allocations: 386.3 kB / 1.373 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/1.497, allocations: 0.7702 MB / 1.374 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001552/1.497, allocations: 35.91 kB / 1.374 GB, free: 27.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.497, allocations: 89.2 kB / 1.374 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.497, allocations: 0 / 1.374 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/1.522, allocations: 4.267 MB / 1.378 GB, free: 27.26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/1.522, allocations: 163.1 kB / 1.378 GB, free: 27.07 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.076/3.598, allocations: 7.812 kB / 1.378 GB, free: 27.07 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat does not exist to compare? outputFormat=mat