Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",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.002061/0.002061, 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.002704/0.002704, 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.744/2.744, 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 4.832/4.832, allocations: 409.2 MB / 0.6838 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006301, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591/1.591, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004467/1.596, allocations: 1.448 MB / 0.9823 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0006416/1.596, allocations: 131.6 kB / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002103/1.597, allocations: 0 / 0.9824 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.235e-05/1.597, allocations: 7.922 kB / 0.9824 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003837/1.597, allocations: 63.8 kB / 0.9825 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000234/1.597, allocations: 23.97 kB / 0.9825 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004928/1.598, allocations: 123.7 kB / 0.9826 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001975/1.598, allocations: 21.09 kB / 0.9826 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/1.598, allocations: 47.84 kB / 0.9827 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/1.599, allocations: 59.75 kB / 0.9827 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.945e-05/1.599, allocations: 4 kB / 0.9827 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/1.599, allocations: 4 kB / 0.9827 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/1.599, allocations: 27.91 kB / 0.9828 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/1.599, allocations: 45.64 kB / 0.9828 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002599/1.599, allocations: 74.06 kB / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.599, allocations: 0 / 0.9829 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.907e-06/1.599, allocations: 4 kB / 0.9829 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.242e-05/1.599, allocations: 3.938 kB / 0.9829 GB, free: 4.215 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001401/1.601, allocations: 452.2 kB / 0.9833 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.178e-05/1.601, allocations: 16.02 kB / 0.9833 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.031e-05/1.601, allocations: 34.56 kB / 0.9834 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/1.601, allocations: 15.81 kB / 0.9834 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/1.602, allocations: 200.4 kB / 0.9836 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/1.602, allocations: 4 kB / 0.9836 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/1.602, allocations: 12 kB / 0.9836 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/1.602, allocations: 127.2 kB / 0.9837 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.602, allocations: 3.938 kB / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/1.602, allocations: 4 kB / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/1.602, allocations: 0 / 0.9837 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/1.603, allocations: 111.9 kB / 0.9838 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001534/1.605, allocations: 472.7 kB / 0.9843 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/1.605, allocations: 141.3 kB / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-05/1.605, allocations: 0 / 0.9844 GB, free: 2.477 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/1.605, allocations: 38.64 kB / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.354e-06/1.605, allocations: 0 / 0.9844 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.001285/1.607, allocations: 205.5 kB / 0.9846 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/1.607, allocations: 77.11 kB / 0.9847 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/1.607, allocations: 170.4 kB / 0.9849 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.965e-05/1.607, allocations: 25.7 kB / 0.9849 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/1.608, allocations: 112.2 kB / 0.985 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/1.608, allocations: 31.55 kB / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/1.608, allocations: 0 / 0.985 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002971/1.608, allocations: 330.8 kB / 0.9853 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/1.608, allocations: 47.97 kB / 0.9854 GB, free: 1.395 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/1.609, allocations: 65.62 kB / 0.9855 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/1.609, allocations: 68.03 kB / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/1.609, allocations: 0 / 0.9855 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007651/1.61, allocations: 153.5 kB / 0.9857 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.657e-05/1.61, allocations: 4 kB / 0.9857 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/1.61, allocations: 4 kB / 0.9857 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.014e-05/1.61, allocations: 4 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.61, allocations: 27.97 kB / 0.9857 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.61, allocations: 0 / 0.9857 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/1.611, allocations: 24.02 kB / 0.9857 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/1.611, allocations: 0 / 0.9857 GB, free: 1.039 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002504/1.611, allocations: 129.7 kB / 0.9859 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001109/1.611, allocations: 11.91 kB / 0.9859 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009186/1.612, allocations: 174.6 kB / 0.986 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/1.612, allocations: 4.031 kB / 0.986 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.612, allocations: 0 / 0.986 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.612, allocations: 7.984 kB / 0.986 GB, free: 0.707 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006599/1.613, allocations: 221.6 kB / 0.9863 GB, free: 452 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/1.613, allocations: 3.938 kB / 0.9863 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/1.613, allocations: 27.92 kB / 0.9863 GB, free: 420 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.613, allocations: 4 kB / 0.9863 GB, free: 416 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/1.613, allocations: 4 kB / 0.9863 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/1.613, allocations: 0 / 0.9863 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.613, allocations: 192 / 0.9863 GB, free: 412 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009431/1.614, allocations: 348.2 kB / 0.9866 GB, free: 40 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/1.614, allocations: 85.02 kB / 0.9867 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/1.614, allocations: 4 kB / 0.9867 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/1.615, allocations: 15.98 kB / 0.9867 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.035e-05/1.615, allocations: 11.98 kB / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.615, allocations: 0 / 0.9867 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002165/1.615, allocations: 125.8 kB / 0.9869 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 5.81e-07/1.615, allocations: 4 kB / 0.9869 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005843/1.616, allocations: 31.94 kB / 0.9869 GB, free: 15.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (9): * Single equations (assignments): 9 * 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.001446/1.617, allocations: 0.9343 MB / 0.9878 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007898/1.618, allocations: 119.9 kB / 0.9879 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/1.618, allocations: 0 / 0.9879 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/1.618, allocations: 63.91 kB / 0.988 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007193/1.619, allocations: 40.09 kB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003228/1.622, allocations: 0.9783 MB / 0.989 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005593/1.623, allocations: 0.7087 MB / 0.9897 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001907/1.623, allocations: 12.66 kB / 0.9897 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/1.623, allocations: 35.36 kB / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.325e-06/1.623, allocations: 0 / 0.9897 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/1.661, allocations: 3.224 MB / 0.9929 GB, free: 9.738 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003808/1.661, allocations: 201.8 kB / 0.993 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.759, allocations: 0 / 0.993 GB, free: 9.5 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat