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.442/2.442, 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.001147/0.001147, allocations: 180.8 kB / 487.4 MB, free: 5.047 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.629/1.629, allocations: 221.5 MB / 0.7824 GB, free: 1.02 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.0009614/0.0009613, allocations: 106 kB / 0.9219 GB, free: 2.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.909e-05, allocations: 5.328 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3626, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.211/1.574, allocations: 151.1 MB / 1.354 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/1.574, allocations: 88.58 kB / 1.354 GB, free: 17.96 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01324/1.588, allocations: 4.453 MB / 1.358 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.264e-06/1.588, allocations: 0 / 1.358 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.259e-05/1.588, allocations: 3.938 kB / 1.358 GB, free: 33.4 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.0009184/1.589, allocations: 0.5321 MB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.669e-05/1.589, allocations: 7.844 kB / 1.359 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.069e-05/1.589, allocations: 39.88 kB / 1.359 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/1.589, allocations: 293 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/1.589, allocations: 7.656 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/1.589, allocations: 15.41 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003636/1.59, allocations: 160.1 kB / 1.359 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/1.59, allocations: 232.8 kB / 1.359 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.59, allocations: 0 / 1.359 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.184e-05/1.59, allocations: 0 / 1.359 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/1.59, allocations: 7.688 kB / 1.359 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/1.592, allocations: 0.8793 MB / 1.36 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/1.592, allocations: 260 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/1.592, allocations: 93.33 kB / 1.36 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/1.592, allocations: 13.2 kB / 1.36 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/1.593, allocations: 126.4 kB / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.182e-06/1.593, allocations: 0 / 1.361 GB, free: 32.08 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003646/1.593, allocations: 160.7 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/1.593, allocations: 108.7 kB / 1.361 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/1.593, allocations: 205.8 kB / 1.361 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/1.593, allocations: 25.7 kB / 1.361 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.594, allocations: 174.3 kB / 1.361 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/1.594, allocations: 60.2 kB / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.235e-05/1.594, allocations: 0 / 1.361 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000212/1.594, allocations: 337.6 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.349e-05/1.594, allocations: 49.97 kB / 1.362 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/1.594, allocations: 89.69 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/1.594, allocations: 64.89 kB / 1.362 GB, free: 31.26 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.594, allocations: 3.938 kB / 1.362 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002715/1.595, allocations: 184.3 kB / 1.362 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.595, allocations: 180.8 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.595, allocations: 7.797 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/1.595, allocations: 4.031 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/1.595, allocations: 48.39 kB / 1.362 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.595, allocations: 3.938 kB / 1.362 GB, free: 31.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/1.595, allocations: 41.25 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/1.595, allocations: 9.078 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/1.595, allocations: 3.844 kB / 1.362 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002251/1.595, allocations: 123.9 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/1.595, allocations: 0 / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.557e-06/1.595, allocations: 3.844 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/1.596, allocations: 45.59 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-06/1.596, allocations: 3.844 kB / 1.362 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.596, allocations: 32.97 kB / 1.362 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/1.596, allocations: 3.844 kB / 1.362 GB, free: 30.98 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 0.0001259/1.596, allocations: 106.5 kB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002406/1.596, allocations: 166.3 kB / 1.363 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/1.596, allocations: 23.48 kB / 1.363 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/1.597, allocations: 182 kB / 1.363 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-06/1.597, allocations: 9.609 kB / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.597, allocations: 0 / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.597, allocations: 4.031 kB / 1.363 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007765/1.597, allocations: 0.5857 MB / 1.364 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.597, allocations: 0 / 1.364 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/1.598, allocations: 54.72 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/1.598, allocations: 2.156 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/1.598, allocations: 3.953 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/1.598, allocations: 3.844 kB / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.598, allocations: 0 / 1.364 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/1.598, allocations: 368.6 kB / 1.364 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/1.598, allocations: 107.1 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/1.598, allocations: 7.844 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/1.599, allocations: 22.03 kB / 1.364 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.546e-05/1.599, allocations: 16.56 kB / 1.364 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/1.599, allocations: 7.891 kB / 1.364 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001602/1.599, allocations: 157.9 kB / 1.364 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.599, allocations: 4 kB / 1.364 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003955/1.599, allocations: 86.95 kB / 1.364 GB, free: 30.07 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.0009955/1.6, allocations: 0.97 MB / 1.365 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003666/1.601, allocations: 222.7 kB / 1.365 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.601, allocations: 3.938 kB / 1.365 GB, free: 29.29 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000101/1.601, allocations: 78 kB / 1.366 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.601, allocations: 29.81 kB / 1.366 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009611/1.602, allocations: 387.4 kB / 1.366 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/1.603, allocations: 0.765 MB / 1.367 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001685/1.603, allocations: 32.44 kB / 1.367 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/1.603, allocations: 91.62 kB / 1.367 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.603, allocations: 4 kB / 1.367 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02618/1.629, allocations: 4.268 MB / 1.371 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001867/1.629, allocations: 151.9 kB / 1.371 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/3.746, allocations: 0 / 1.371 GB, free: 27.91 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