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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.528/2.528, allocations: 390.3 MB / 0.6653 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003651/0.0003652, allocations: 8 kB / 0.8146 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7145/0.7149, allocations: 142.3 MB / 0.9536 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.002191/0.7172, allocations: 1.81 MB / 0.9554 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.7183, allocations: 494.7 kB / 0.9558 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003318/0.7186, allocations: 4.156 kB / 0.9558 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.181e-05/0.7187, allocations: 27.72 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.7189, allocations: 46.95 kB / 0.9559 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.7193, allocations: 94.94 kB / 0.956 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003287/0.7196, allocations: 194.8 kB / 0.9562 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002528/0.7199, allocations: 119.8 kB / 0.9563 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.72, allocations: 78.66 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.7201, allocations: 94.56 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.7202, allocations: 8.781 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.753e-05/0.7202, allocations: 7.125 kB / 0.9565 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.7203, allocations: 44.89 kB / 0.9565 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.101e-05/0.7203, allocations: 70.48 kB / 0.9566 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.7206, allocations: 366.1 kB / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.7206, allocations: 0 / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7206, allocations: 1.219 kB / 0.9569 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.7206, allocations: 0 / 0.9569 GB, free: 5.418 MB / 0.7169 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.0008169/0.7214, allocations: 0.5666 MB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.7215, allocations: 9.281 kB / 0.9575 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.191e-05/0.7216, allocations: 63.16 kB / 0.9576 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.469e-05/0.7216, allocations: 39.77 kB / 0.9576 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.722, allocations: 315 kB / 0.9579 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.722, allocations: 19.19 kB / 0.9579 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.7221, allocations: 24.12 kB / 0.9579 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.7226, allocations: 289 kB / 0.9582 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.7226, allocations: 0 / 0.9582 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.7226, allocations: 11.56 kB / 0.9582 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.936e-06/0.7226, allocations: 8.922 kB / 0.9582 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004865/0.7231, allocations: 224.8 kB / 0.9585 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.7244, allocations: 0.9826 MB / 0.9594 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000494/0.7249, allocations: 285.8 kB / 0.9597 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.7249, allocations: 6.828 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.7249, allocations: 35.66 kB / 0.9597 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.7249, allocations: 3.938 kB / 0.9597 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0006936/0.7256, allocations: 277.7 kB / 0.96 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.561e-05/0.7257, allocations: 57.7 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.7259, allocations: 273.3 kB / 0.9603 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.726, allocations: 31.83 kB / 0.9603 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.677e-05/0.7261, allocations: 179.4 kB / 0.9605 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.634e-05/0.7261, allocations: 53.42 kB / 0.9606 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.7261, allocations: 5 kB / 0.9606 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.7262, allocations: 336 kB / 0.9609 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.7264, allocations: 83.2 kB / 0.961 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.7266, allocations: 126.8 kB / 0.9611 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002149/0.7268, allocations: 87.94 kB / 0.9612 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.7269, allocations: 0 / 0.9612 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004979/0.7274, allocations: 265 kB / 0.9614 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.7275, allocations: 452.8 kB / 0.9619 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.7275, allocations: 1.219 kB / 0.9619 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7275, allocations: 2.531 kB / 0.9619 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.7277, allocations: 47.56 kB / 0.9619 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7277, allocations: 9.953 kB / 0.9619 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.7279, allocations: 33.77 kB / 0.9619 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.7279, allocations: 8.906 kB / 0.962 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.728, allocations: 3.969 kB / 0.962 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004077/0.7284, allocations: 204.9 kB / 0.9622 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.7284, allocations: 1.094 kB / 0.9622 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-06/0.7284, allocations: 10.23 kB / 0.9622 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.7286, allocations: 43.11 kB / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.7286, allocations: 2.625 kB / 0.9622 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.7287, allocations: 28.08 kB / 0.9622 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.7288, allocations: 4.969 kB / 0.9622 GB, free: 1.184 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (conRadSup.conPIDRad.con1.y,conRadSup.conPIDRad.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.000135/0.7289, allocations: 228.4 kB / 0.9625 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.729, allocations: 30.41 kB / 0.9625 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005069/0.7295, allocations: 233.7 kB / 0.9627 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.7295, allocations: 6.25 kB / 0.9627 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.7295, allocations: 4.062 kB / 0.9627 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.7295, allocations: 1.188 kB / 0.9627 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008366/0.7303, allocations: 0.6365 MB / 0.9633 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7304, allocations: 0 / 0.9633 GB, free: 280 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.7306, allocations: 42.56 kB / 0.9634 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.7306, allocations: 1.156 kB / 0.9634 GB, free: 268 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.7306, allocations: 4.906 kB / 0.9634 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.7306, allocations: 0.8125 kB / 0.9634 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.7306, allocations: 0.9688 kB / 0.9634 GB, free: 264 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.7314, allocations: 416.2 kB / 0.9638 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.7315, allocations: 107.9 kB / 0.9639 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.7316, allocations: 5.438 kB / 0.9639 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.7317, allocations: 14.67 kB / 0.9639 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.789e-05/0.7318, allocations: 17.61 kB / 0.9639 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.7318, allocations: 8.156 kB / 0.9639 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002223/0.7321, allocations: 198.6 kB / 0.9641 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7321, allocations: 0 / 0.9641 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004367/0.7325, allocations: 86.25 kB / 0.9642 GB, free: 15.68 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.001097/0.7336, allocations: 0.9501 MB / 0.9651 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007942/0.7344, allocations: 300.7 kB / 0.9654 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.7344, allocations: 1.344 kB / 0.9654 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.7347, allocations: 91.92 kB / 0.9655 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/0.735, allocations: 37.86 kB / 0.9655 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.7384, allocations: 2.095 MB / 0.9676 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003579/0.7388, allocations: 0.7641 MB / 0.9683 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001366/0.7389, allocations: 28.72 kB / 0.9684 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.739, allocations: 84.03 kB / 0.9684 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.7391, allocations: 0 / 0.9684 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01816/0.7572, allocations: 4.55 MB / 0.9729 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/0.7575, allocations: 205.5 kB / 0.9731 GB, free: 9.949 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.408, allocations: 0 / 0.9731 GB, free: 9.949 MB / 0.7325 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