Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.001384/0.001384, allocations: 99.86 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.002529/0.002529, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.784/2.784, allocations: 223.2 MB / 239.9 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.021/5.021, allocations: 409.2 MB / 0.6838 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005476/0.000548, allocations: 12 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.752/1.753, allocations: 146.8 MB / 0.9809 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003359/1.756, allocations: 1.677 MB / 0.9825 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001235/1.757, allocations: 406.9 kB / 0.9829 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002035/1.757, allocations: 4 kB / 0.9829 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.967e-05/1.758, allocations: 19.78 kB / 0.9829 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002372/1.758, allocations: 39.83 kB / 0.983 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/1.758, allocations: 71.86 kB / 0.983 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003489/1.759, allocations: 152.7 kB / 0.9832 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003088/1.759, allocations: 98.95 kB / 0.9833 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/1.759, allocations: 55.7 kB / 0.9833 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/1.759, allocations: 67.52 kB / 0.9834 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/1.759, allocations: 8 kB / 0.9834 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.292e-05/1.759, allocations: 4 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/1.759, allocations: 39.83 kB / 0.9834 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.668e-05/1.759, allocations: 61.58 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003463/1.76, allocations: 289.5 kB / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/1.76, allocations: 0 / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.365e-06/1.76, allocations: 0 / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.469e-05/1.76, allocations: 0 / 0.9838 GB, free: 3.281 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001172/1.761, allocations: 0.5183 MB / 0.9843 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.598e-05/1.761, allocations: 8.031 kB / 0.9843 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.383e-05/1.761, allocations: 58.48 kB / 0.9843 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.798e-05/1.761, allocations: 23.72 kB / 0.9844 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004762/1.762, allocations: 259.1 kB / 0.9846 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/1.762, allocations: 16.44 kB / 0.9846 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/1.762, allocations: 20 kB / 0.9846 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/1.762, allocations: 241.7 kB / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.762, allocations: 0 / 0.9849 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/1.762, allocations: 16 kB / 0.9849 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/1.763, allocations: 4 kB / 0.9849 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004835/1.763, allocations: 189 kB / 0.9851 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/1.765, allocations: 0.8677 MB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/1.765, allocations: 198.7 kB / 0.9861 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/1.765, allocations: 4 kB / 0.9861 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.765, allocations: 38.56 kB / 0.9862 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.442e-06/1.765, allocations: 0 / 0.9862 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12): time 0.0008048/1.766, allocations: 245.5 kB / 0.9864 GB, free: 412 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.96e-05/1.766, allocations: 89.05 kB / 0.9865 GB, free: 304 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003007/1.767, allocations: 231.2 kB / 0.9867 GB, free: 60 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/1.767, allocations: 29.7 kB / 0.9867 GB, free: 24 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/1.767, allocations: 160.1 kB / 0.9869 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.394e-05/1.767, allocations: 43.44 kB / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/1.767, allocations: 0 / 0.9869 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001976/1.767, allocations: 330.8 kB / 0.9872 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/1.767, allocations: 71.95 kB / 0.9873 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.767, allocations: 125.8 kB / 0.9874 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/1.768, allocations: 80 kB / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.768, allocations: 0 / 0.9875 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005496/1.768, allocations: 223.8 kB / 0.9877 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002684/1.769, allocations: 364 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/1.769, allocations: 0 / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.081e-05/1.769, allocations: 4 kB / 0.9881 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/1.769, allocations: 51.92 kB / 0.9881 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.485e-05/1.769, allocations: 3.938 kB / 0.9881 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/1.769, allocations: 35.81 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/1.769, allocations: 4 kB / 0.9881 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.769, allocations: 5.719 kB / 0.9882 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003617/1.769, allocations: 151.9 kB / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-06/1.769, allocations: 0 / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-06/1.769, allocations: 0 / 0.9883 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/1.77, allocations: 35.92 kB / 0.9883 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.77, allocations: 3.953 kB / 0.9883 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/1.77, allocations: 35.92 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/1.77, allocations: 4 kB / 0.9884 GB, free: 14.27 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0002556/1.77, allocations: 213.1 kB / 0.9886 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/1.77, allocations: 19.8 kB / 0.9886 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.547e-05/1.77, allocations: 17.41 kB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/1.77, allocations: 4 kB / 0.9886 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.418e-05/1.77, allocations: 7.938 kB / 0.9886 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/1.77, allocations: 7.984 kB / 0.9886 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/1.771, allocations: 305.3 kB / 0.9889 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/1.771, allocations: 0 / 0.9889 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/1.771, allocations: 35.91 kB / 0.989 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/1.771, allocations: 0 / 0.989 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.262e-05/1.771, allocations: 8 kB / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/1.771, allocations: 0 / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.771, allocations: 0 / 0.989 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/1.772, allocations: 371.2 kB / 0.9893 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/1.772, allocations: 96.94 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.498e-05/1.772, allocations: 7.938 kB / 0.9894 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/1.772, allocations: 24.05 kB / 0.9894 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/1.772, allocations: 7.984 kB / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/1.772, allocations: 0 / 0.9895 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002219/1.772, allocations: 172.7 kB / 0.9896 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/1.772, allocations: 3.938 kB / 0.9896 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003965/1.773, allocations: 67.67 kB / 0.9897 GB, free: 12.83 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.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 (12): * Single equations (assignments): 12 * 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.001203/1.774, allocations: 0.9035 MB / 0.9906 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007241/1.775, allocations: 246.6 kB / 0.9908 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.775, allocations: 0 / 0.9908 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/1.775, allocations: 84.92 kB / 0.9909 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/1.775, allocations: 32.81 kB / 0.9909 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003023/1.778, allocations: 1.714 MB / 0.9926 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004566/1.779, allocations: 0.7404 MB / 0.9933 GB, free: 9.004 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001271/1.779, allocations: 25.53 kB / 0.9933 GB, free: 8.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/1.779, allocations: 67.41 kB / 0.9934 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of SimCode: time 1.382e-06/1.779, allocations: 0 / 0.9934 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01988/1.799, allocations: 3.842 MB / 0.9972 GB, free: 5.273 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004552/1.8, allocations: 205.9 kB / 0.9973 GB, free: 5.027 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.26/5.06, allocations: 0 / 0.9973 GB, free: 5.027 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat does not exist to compare? outputFormat=mat