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.408/2.408, allocations: 393.5 MB / 408.4 MB, free: 11 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.002343/0.002344, allocations: 191.9 kB / 0.4902 GB, free: 2.219 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.926/1.926, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.001167/0.001167, allocations: 98.56 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004369/0.0004371, allocations: 11.62 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3692, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2288/0.5981, allocations: 152.6 MB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003165/0.5985, allocations: 87.94 kB / 1.378 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01336/0.6118, allocations: 4.495 MB / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.527e-06/0.6119, allocations: 0 / 1.383 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.612, allocations: 4 kB / 1.383 GB, free: 12.29 MB / 0.8855 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.001282/0.6133, allocations: 0.5767 MB / 1.383 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.6133, allocations: 12.56 kB / 1.383 GB, free: 11.65 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.6135, allocations: 58.55 kB / 1.383 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.6136, allocations: 35.58 kB / 1.383 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.6141, allocations: 297.5 kB / 1.384 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.6142, allocations: 20.5 kB / 1.384 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/0.6142, allocations: 24 kB / 1.384 GB, free: 11.17 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000722/0.615, allocations: 303.7 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.615, allocations: 4 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.615, allocations: 12 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.615, allocations: 4 kB / 1.384 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006645/0.6157, allocations: 250 kB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001886/0.6176, allocations: 0.9439 MB / 1.385 GB, free: 9.594 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008076/0.6184, allocations: 343 kB / 1.386 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.6185, allocations: 0 / 1.386 GB, free: 9.234 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.619, allocations: 178.2 kB / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 1.352e-06/0.619, allocations: 0 / 1.386 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.0009942/0.62, allocations: 355.1 kB / 1.386 GB, free: 8.691 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/0.6202, allocations: 106.8 kB / 1.386 GB, free: 8.562 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003931/0.6206, allocations: 254.2 kB / 1.386 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.6206, allocations: 29.7 kB / 1.386 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.6208, allocations: 168.2 kB / 1.387 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.6209, allocations: 63.02 kB / 1.387 GB, free: 8.047 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.6209, allocations: 4 kB / 1.387 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002726/0.6212, allocations: 338.8 kB / 1.387 GB, free: 7.703 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.6215, allocations: 96.31 kB / 1.387 GB, free: 7.605 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000325/0.6218, allocations: 129 kB / 1.387 GB, free: 7.465 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.6221, allocations: 101 kB / 1.387 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6221, allocations: 0 / 1.387 GB, free: 7.367 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006317/0.6228, allocations: 270.6 kB / 1.388 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.6229, allocations: 186 kB / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.6229, allocations: 0 / 1.388 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.623, allocations: 7.984 kB / 1.388 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.6232, allocations: 51.91 kB / 1.388 GB, free: 6.844 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.6233, allocations: 8 kB / 1.388 GB, free: 6.836 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.6235, allocations: 35.81 kB / 1.388 GB, free: 6.801 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.6235, allocations: 12 kB / 1.388 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.6235, allocations: 5.25 kB / 1.388 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004697/0.624, allocations: 189.4 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-06/0.624, allocations: 4 kB / 1.388 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-06/0.624, allocations: 0 / 1.388 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.6242, allocations: 39.97 kB / 1.388 GB, free: 6.559 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.6242, allocations: 8.031 kB / 1.388 GB, free: 6.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.6244, allocations: 39.72 kB / 1.388 GB, free: 6.512 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.6244, allocations: 4 kB / 1.388 GB, free: 6.508 MB / 0.8855 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 () * Number of clocked 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.0002445/0.6247, allocations: 225.1 kB / 1.388 GB, free: 6.277 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.582e-05/0.6247, allocations: 27.62 kB / 1.388 GB, free: 6.25 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/0.6254, allocations: 289.8 kB / 1.389 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6255, allocations: 4 kB / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.6255, allocations: 0 / 1.389 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.6255, allocations: 3.984 kB / 1.389 GB, free: 5.953 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.6268, allocations: 0.7215 MB / 1.389 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6268, allocations: 4 kB / 1.389 GB, free: 5.168 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.6271, allocations: 51.98 kB / 1.389 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.6271, allocations: 48 / 1.389 GB, free: 5.117 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.6271, allocations: 11.98 kB / 1.389 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.6271, allocations: 0 / 1.389 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6271, allocations: 0 / 1.389 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.6283, allocations: 0.4965 MB / 1.39 GB, free: 4.586 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.6285, allocations: 108.7 kB / 1.39 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.349e-05/0.6285, allocations: 7.984 kB / 1.39 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.6287, allocations: 28.05 kB / 1.39 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/0.6288, allocations: 19.92 kB / 1.39 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.6288, allocations: 4 kB / 1.39 GB, free: 4.402 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003155/0.6292, allocations: 210 kB / 1.39 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6292, allocations: 0 / 1.39 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004898/0.6297, allocations: 87.69 kB / 1.39 GB, free: 4.109 MB / 0.8855 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 () * Number of clocked 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.001654/0.6313, allocations: 1.106 MB / 1.391 GB, free: 2.973 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009388/0.6323, allocations: 321.1 kB / 1.392 GB, free: 2.66 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.6323, allocations: 4 kB / 1.392 GB, free: 2.656 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.6326, allocations: 120.1 kB / 1.392 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.633, allocations: 35.08 kB / 1.392 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.6363, allocations: 1.787 MB / 1.394 GB, free: 0.6523 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005413/0.6369, allocations: 0.7677 MB / 1.394 GB, free: 15.86 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001816/0.6371, allocations: 25.94 kB / 1.394 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.6373, allocations: 91.41 kB / 1.394 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.6373, allocations: 0 / 1.394 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01851/0.6558, allocations: 4.916 MB / 1.399 GB, free: 11.02 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002041/0.656, allocations: 212.4 kB / 1.399 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.376/3.032, allocations: 1.719 kB / 1.399 GB, free: 10.78 MB / 0.9011 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