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.519/2.519, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001447/0.001448, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.844/1.844, allocations: 221.3 MB / 0.7915 GB, free: 5.387 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.001092/0.001092, allocations: 98.81 kB / 0.9318 GB, free: 5.703 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.328e-05/5.33e-05, allocations: 10.27 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3585, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.188/1.547, allocations: 152.5 MB / 1.368 GB, free: 1.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.547, allocations: 87.69 kB / 1.368 GB, free: 1.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/1.558, allocations: 4.488 MB / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.558, allocations: 0 / 1.372 GB, free: 13.6 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.039e-05/1.558, allocations: 8 kB / 1.372 GB, free: 13.59 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.000805/1.559, allocations: 0.5284 MB / 1.373 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/1.559, allocations: 12.03 kB / 1.373 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.475e-05/1.559, allocations: 62.78 kB / 1.373 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.644e-05/1.559, allocations: 35.58 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/1.56, allocations: 289.5 kB / 1.373 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/1.56, allocations: 23.88 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/1.56, allocations: 23.31 kB / 1.373 GB, free: 12.62 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004578/1.56, allocations: 256.4 kB / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/1.56, allocations: 0 / 1.373 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/1.56, allocations: 14.06 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/1.56, allocations: 8 kB / 1.373 GB, free: 12.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/1.56, allocations: 171.2 kB / 1.374 GB, free: 12.32 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/1.562, allocations: 0.954 MB / 1.375 GB, free: 11.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000433/1.562, allocations: 279.7 kB / 1.375 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/1.562, allocations: 97.98 kB / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/1.563, allocations: 0 / 1.375 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/1.563, allocations: 141.5 kB / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=19): time 1.222e-06/1.563, allocations: 0 / 1.375 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=19): time 0.0003594/1.563, allocations: 179.5 kB / 1.375 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/1.563, allocations: 110.8 kB / 1.375 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002736/1.563, allocations: 250.3 kB / 1.376 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.564, allocations: 28.7 kB / 1.376 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/1.564, allocations: 172.8 kB / 1.376 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/1.564, allocations: 61.3 kB / 1.376 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/1.564, allocations: 0 / 1.376 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001593/1.564, allocations: 344.5 kB / 1.376 GB, free: 10.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.674e-05/1.564, allocations: 54 kB / 1.376 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/1.564, allocations: 93.61 kB / 1.376 GB, free: 9.98 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/1.564, allocations: 68.69 kB / 1.376 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/1.564, allocations: 0 / 1.376 GB, free: 9.941 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002944/1.565, allocations: 196 kB / 1.377 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/1.565, allocations: 189.6 kB / 1.377 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.565, allocations: 0 / 1.377 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.565, allocations: 0 / 1.377 GB, free: 9.598 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/1.565, allocations: 51.91 kB / 1.377 GB, free: 9.547 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/1.565, allocations: 3.984 kB / 1.377 GB, free: 9.543 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/1.565, allocations: 47.17 kB / 1.377 GB, free: 9.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/1.565, allocations: 7.375 kB / 1.377 GB, free: 9.496 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.565, allocations: 9.344 kB / 1.377 GB, free: 9.488 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002382/1.565, allocations: 143.8 kB / 1.377 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/1.565, allocations: 3.984 kB / 1.377 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-06/1.565, allocations: 4 kB / 1.377 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/1.566, allocations: 40.02 kB / 1.377 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/1.566, allocations: 0 / 1.377 GB, free: 9.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/1.566, allocations: 39.31 kB / 1.377 GB, free: 9.316 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/1.566, allocations: 4 kB / 1.377 GB, free: 9.312 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 9.074e-05/1.566, allocations: 124.5 kB / 1.377 GB, free: 9.191 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.805e-05/1.566, allocations: 23.72 kB / 1.377 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/1.566, allocations: 198.6 kB / 1.377 GB, free: 9.031 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/1.566, allocations: 7.938 kB / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.566, allocations: 0 / 1.377 GB, free: 9.023 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/1.566, allocations: 3.984 kB / 1.377 GB, free: 9.02 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/1.567, allocations: 0.652 MB / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.567, allocations: 0 / 1.378 GB, free: 8.457 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002202/1.567, allocations: 55.69 kB / 1.378 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/1.567, allocations: 4.047 kB / 1.378 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/1.567, allocations: 3.984 kB / 1.378 GB, free: 8.398 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/1.567, allocations: 7.984 kB / 1.378 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.567, allocations: 0 / 1.378 GB, free: 8.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/1.568, allocations: 397.1 kB / 1.379 GB, free: 8.07 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.618e-05/1.568, allocations: 107.7 kB / 1.379 GB, free: 7.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/1.568, allocations: 7.562 kB / 1.379 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/1.568, allocations: 23.97 kB / 1.379 GB, free: 7.926 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/1.568, allocations: 19.55 kB / 1.379 GB, free: 7.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/1.568, allocations: 7.984 kB / 1.379 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000195/1.568, allocations: 201.4 kB / 1.379 GB, free: 7.746 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.568, allocations: 3.938 kB / 1.379 GB, free: 7.742 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003577/1.569, allocations: 90.58 kB / 1.379 GB, free: 7.66 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.0008846/1.57, allocations: 0.9965 MB / 1.38 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00043/1.57, allocations: 238 kB / 1.38 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.57, allocations: 0 / 1.38 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/1.57, allocations: 78.56 kB / 1.38 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/1.571, allocations: 45.2 kB / 1.38 GB, free: 6.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009009/1.572, allocations: 399.7 kB / 1.381 GB, free: 6.113 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.572, allocations: 0.7687 MB / 1.381 GB, free: 5.316 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001791/1.572, allocations: 39.05 kB / 1.381 GB, free: 5.277 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.572, allocations: 89.16 kB / 1.382 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.572, allocations: 0 / 1.382 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01737/1.59, allocations: 5.215 MB / 1.387 GB, free: 240 kB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001679/1.59, allocations: 176.3 kB / 1.387 GB, free: 8 kB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.059/3.649, allocations: 8.562 kB / 1.387 GB, free: 4 kB / 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