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.001067/0.001067, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001193/0.001193, allocations: 168.7 kB / 15.95 MB, free: 204 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.488/1.488, allocations: 223.3 MB / 240 MB, free: 5.418 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.524/2.524, allocations: 390.4 MB / 0.6655 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7178, allocations: 142.3 MB / 0.9539 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply): time 0.001978/0.7198, allocations: 1.801 MB / 0.9556 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009263/0.7208, allocations: 495.6 kB / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.721, allocations: 5 kB / 0.9561 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.7211, allocations: 29.94 kB / 0.9561 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.7212, allocations: 31.09 kB / 0.9562 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.7215, allocations: 79.78 kB / 0.9562 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.7218, allocations: 316.8 kB / 0.9565 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.722, allocations: 116.2 kB / 0.9566 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.7222, allocations: 80.77 kB / 0.9567 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.7223, allocations: 93.92 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.7223, allocations: 8.031 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.7224, allocations: 8.219 kB / 0.9568 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.193e-05/0.7224, allocations: 43.58 kB / 0.9569 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.7225, allocations: 71.61 kB / 0.9569 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.7227, allocations: 365.7 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.7227, allocations: 1.438 kB / 0.9573 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.744e-06/0.7227, allocations: 3.938 kB / 0.9573 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.7228, allocations: 0 / 0.9573 GB, free: 5.316 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.0007567/0.7235, allocations: 0.5694 MB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7236, allocations: 9.281 kB / 0.9579 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.725e-05/0.7236, allocations: 58.52 kB / 0.9579 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.7237, allocations: 35.77 kB / 0.9579 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.724, allocations: 315.3 kB / 0.9582 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7241, allocations: 19.31 kB / 0.9583 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.7241, allocations: 24.09 kB / 0.9583 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005185/0.7246, allocations: 290.7 kB / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.7247, allocations: 0 / 0.9586 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.7247, allocations: 14.19 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.007e-05/0.7247, allocations: 10.67 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004789/0.7252, allocations: 225.1 kB / 0.9588 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/0.7265, allocations: 0.9812 MB / 0.9598 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004379/0.7269, allocations: 281.2 kB / 0.96 GB, free: 3.059 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002198/0.7271, allocations: 113.7 kB / 0.9601 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.7272, allocations: 2.75 kB / 0.9601 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.7272, allocations: 35.94 kB / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.7272, allocations: 0 / 0.9602 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0007569/0.728, allocations: 290.5 kB / 0.9605 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.728, allocations: 53.19 kB / 0.9605 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.7283, allocations: 270.1 kB / 0.9608 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.7284, allocations: 26.7 kB / 0.9608 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.7285, allocations: 180.3 kB / 0.961 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.7285, allocations: 53.45 kB / 0.961 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.7286, allocations: 8.969 kB / 0.961 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.582e-05/0.7287, allocations: 336.8 kB / 0.9613 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.7289, allocations: 78.73 kB / 0.9614 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.7291, allocations: 128.6 kB / 0.9615 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.7294, allocations: 89.77 kB / 0.9616 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.7294, allocations: 4.75 kB / 0.9616 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005449/0.7299, allocations: 256.2 kB / 0.9619 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.73, allocations: 123.5 kB / 0.962 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.73, allocations: 1.969 kB / 0.962 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.73, allocations: 2.156 kB / 0.962 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.7303, allocations: 51.94 kB / 0.962 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.7303, allocations: 2.656 kB / 0.962 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.7305, allocations: 36.39 kB / 0.9621 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.7305, allocations: 14.3 kB / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.7306, allocations: 3.219 kB / 0.9621 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004314/0.731, allocations: 202.9 kB / 0.9623 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.731, allocations: 5.031 kB / 0.9623 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.98e-06/0.731, allocations: 6.547 kB / 0.9623 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.7312, allocations: 50.78 kB / 0.9624 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.7312, allocations: 2.281 kB / 0.9624 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.7314, allocations: 28.39 kB / 0.9624 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.7314, allocations: 9.031 kB / 0.9624 GB, free: 1.359 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.0001744/0.7316, allocations: 220.2 kB / 0.9626 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/0.7316, allocations: 23 kB / 0.9626 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.7322, allocations: 238.1 kB / 0.9628 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.7322, allocations: 2.281 kB / 0.9629 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.7322, allocations: 4 kB / 0.9629 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.7322, allocations: 1.469 kB / 0.9629 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008082/0.733, allocations: 0.6426 MB / 0.9635 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.733, allocations: 0 / 0.9635 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.7332, allocations: 38.45 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.7332, allocations: 1.125 kB / 0.9635 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.7332, allocations: 5.047 kB / 0.9635 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.7332, allocations: 1.125 kB / 0.9635 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7332, allocations: 0 / 0.9635 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006354/0.7339, allocations: 428.5 kB / 0.9639 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.7339, allocations: 99.67 kB / 0.964 GB, free: 56 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.15e-05/0.734, allocations: 5.188 kB / 0.964 GB, free: 52 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7341, allocations: 23.78 kB / 0.9641 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.7342, allocations: 9.141 kB / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.7342, allocations: 3.406 kB / 0.9641 GB, free: 36 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002582/0.7345, allocations: 200.6 kB / 0.9643 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7345, allocations: 0 / 0.9643 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004432/0.7349, allocations: 82.62 kB / 0.9643 GB, free: 15.87 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.001201/0.7362, allocations: 0.948 MB / 0.9653 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007426/0.7369, allocations: 298.5 kB / 0.9656 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.7369, allocations: 0 / 0.9656 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.7371, allocations: 92.8 kB / 0.9656 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004521/0.7376, allocations: 59.42 kB / 0.9657 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003064/0.7407, allocations: 1.497 MB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.741, allocations: 0.7575 MB / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.7412, allocations: 25.16 kB / 0.9679 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.7413, allocations: 88.84 kB / 0.968 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of SimCode: time 1.262e-06/0.7413, allocations: 4 kB / 0.968 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01577/0.7571, allocations: 4.56 MB / 0.9725 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/0.7574, allocations: 216.8 kB / 0.9727 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/2.529, allocations: 0 / 0.9727 GB, free: 10.72 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