Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.RadiatorSupply,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.284/2.284, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001072/0.001072, allocations: 187.9 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.655/1.655, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.001165/0.001165, allocations: 83.91 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.437e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.474, allocations: 151.7 MB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/1.474, allocations: 88.53 kB / 1.361 GB, free: 18.98 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01115/1.485, allocations: 4.476 MB / 1.365 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.573e-06/1.485, allocations: 0 / 1.365 GB, free: 34.42 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.124e-05/1.485, allocations: 11.62 kB / 1.365 GB, free: 34.42 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.0007065/1.486, allocations: 0.5381 MB / 1.366 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/1.486, allocations: 7.656 kB / 1.366 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.695e-05/1.486, allocations: 57.03 kB / 1.366 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.129e-05/1.486, allocations: 42.81 kB / 1.366 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/1.487, allocations: 288.8 kB / 1.366 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/1.487, allocations: 19 kB / 1.366 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.814e-05/1.487, allocations: 25.5 kB / 1.366 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004281/1.487, allocations: 268.6 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.487, allocations: 0 / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/1.487, allocations: 10.53 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.487, allocations: 3.812 kB / 1.366 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/1.487, allocations: 176.9 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/1.489, allocations: 0.9559 MB / 1.367 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003997/1.489, allocations: 270.3 kB / 1.368 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/1.489, allocations: 97.19 kB / 1.368 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/1.489, allocations: 0 / 1.368 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001986/1.489, allocations: 135 kB / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.143e-06/1.489, allocations: 0 / 1.368 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003228/1.49, allocations: 181.4 kB / 1.368 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.49, allocations: 116.7 kB / 1.368 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/1.49, allocations: 249.6 kB / 1.368 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/1.49, allocations: 29.45 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/1.49, allocations: 171.6 kB / 1.369 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/1.49, allocations: 62.95 kB / 1.369 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/1.49, allocations: 4.734 kB / 1.369 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.261e-05/1.49, allocations: 342.6 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9e-05/1.49, allocations: 53.03 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/1.491, allocations: 96.28 kB / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/1.491, allocations: 61.53 kB / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.491, allocations: 0 / 1.369 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002984/1.491, allocations: 197.3 kB / 1.369 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.273e-05/1.491, allocations: 189.5 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/1.491, allocations: 0 / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.491, allocations: 2.484 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/1.491, allocations: 54 kB / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/1.491, allocations: 0 / 1.37 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/1.492, allocations: 48.55 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/1.492, allocations: 9.953 kB / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/1.492, allocations: 0 / 1.37 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002177/1.492, allocations: 149.1 kB / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-06/1.492, allocations: 0 / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.717e-06/1.492, allocations: 7.75 kB / 1.37 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/1.492, allocations: 42.22 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/1.492, allocations: 3.812 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/1.492, allocations: 33.02 kB / 1.37 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/1.492, allocations: 7.719 kB / 1.37 GB, free: 31.91 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 7.513e-05/1.492, allocations: 117 kB / 1.37 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/1.492, allocations: 31.16 kB / 1.37 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/1.493, allocations: 209.2 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/1.493, allocations: 3.938 kB / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.493, allocations: 0 / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.493, allocations: 0 / 1.37 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/1.493, allocations: 0.6503 MB / 1.371 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.493, allocations: 0 / 1.371 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002143/1.494, allocations: 52.2 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.494, allocations: 0 / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/1.494, allocations: 3.375 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.494, allocations: 3.812 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/1.494, allocations: 3.141 kB / 1.371 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004317/1.494, allocations: 401 kB / 1.371 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/1.494, allocations: 106.7 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/1.494, allocations: 2.625 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/1.494, allocations: 27.8 kB / 1.371 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/1.494, allocations: 17.36 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.239e-05/1.494, allocations: 3.812 kB / 1.372 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001799/1.495, allocations: 209.6 kB / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.495, allocations: 0 / 1.372 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003493/1.495, allocations: 83.94 kB / 1.372 GB, free: 31.01 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.0007382/1.496, allocations: 1.01 MB / 1.373 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003399/1.496, allocations: 232.8 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.496, allocations: 0 / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/1.496, allocations: 80.69 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/1.497, allocations: 36.89 kB / 1.373 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007779/1.497, allocations: 410.1 kB / 1.374 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/1.498, allocations: 0.7704 MB / 1.374 GB, free: 29.31 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001672/1.498, allocations: 46.33 kB / 1.374 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.498, allocations: 91.67 kB / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.498, allocations: 0 / 1.374 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0166/1.515, allocations: 5.206 MB / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001563/1.515, allocations: 166.9 kB / 1.38 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/3.641, allocations: 0 / 1.38 GB, free: 28.67 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat does not exist to compare? outputFormat=mat