Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_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.0008353/0.0008353, allocations: 86.72 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.001037/0.001037, 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.475/1.475, allocations: 223.2 MB / 240 MB, free: 5.434 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.436/2.436, allocations: 390.4 MB / 0.6655 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003165/0.0003166, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6958/0.6961, allocations: 142.3 MB / 0.9538 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001915/0.6981, allocations: 1.493 MB / 0.9553 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.6984, allocations: 119 kB / 0.9554 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.6986, allocations: 1.188 kB / 0.9554 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.6987, allocations: 11.86 kB / 0.9554 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.6988, allocations: 42.81 kB / 0.9555 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.6989, allocations: 26.58 kB / 0.9555 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.6992, allocations: 158.1 kB / 0.9556 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.6993, allocations: 21.66 kB / 0.9557 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.6994, allocations: 46.12 kB / 0.9557 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.6995, allocations: 60.86 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.691e-05/0.6996, allocations: 4.031 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.728e-05/0.6996, allocations: 4.156 kB / 0.9558 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.6996, allocations: 18.44 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.6997, allocations: 47.05 kB / 0.9558 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.6998, allocations: 83.8 kB / 0.9559 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.6998, allocations: 4 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6998, allocations: 1.5 kB / 0.9559 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.6998, allocations: 0 / 0.9559 GB, free: 6.457 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006715/0.7005, allocations: 444.9 kB / 0.9563 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.7005, allocations: 10.62 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.078e-05/0.7006, allocations: 39.8 kB / 0.9564 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.7007, allocations: 18.92 kB / 0.9564 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.7009, allocations: 207.5 kB / 0.9566 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.7009, allocations: 2.844 kB / 0.9566 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.7009, allocations: 7.781 kB / 0.9566 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.7012, allocations: 127.1 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7013, allocations: 1.062 kB / 0.9567 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.7013, allocations: 5.062 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.7013, allocations: 1.062 kB / 0.9567 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000318/0.7016, allocations: 112.7 kB / 0.9569 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.7023, allocations: 476.3 kB / 0.9573 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.7027, allocations: 136.9 kB / 0.9574 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.7029, allocations: 77.03 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.7029, allocations: 1.031 kB / 0.9575 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.703, allocations: 36.61 kB / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.703, allocations: 0 / 0.9576 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0005904/0.7036, allocations: 203.8 kB / 0.9577 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.7036, allocations: 83.39 kB / 0.9578 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7038, allocations: 165.5 kB / 0.958 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.7038, allocations: 31.05 kB / 0.958 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.55e-05/0.7039, allocations: 105.4 kB / 0.9581 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.7039, allocations: 31.23 kB / 0.9581 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.366e-06/0.7039, allocations: 4 kB / 0.9581 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.761e-05/0.704, allocations: 322.5 kB / 0.9585 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.7042, allocations: 52.84 kB / 0.9585 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001453/0.7043, allocations: 61.69 kB / 0.9586 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.7045, allocations: 60 kB / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7045, allocations: 0 / 0.9586 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003471/0.7048, allocations: 158.3 kB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.7049, allocations: 4.562 kB / 0.9588 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7049, allocations: 9.125 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7049, allocations: 1.188 kB / 0.9588 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.7051, allocations: 32.91 kB / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.7051, allocations: 0 / 0.9588 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.7052, allocations: 30.17 kB / 0.9588 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.7052, allocations: 3.062 kB / 0.9588 GB, free: 3.918 MB / 0.7169 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 7.451e-05/0.7053, allocations: 115.5 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.421e-05/0.7054, allocations: 15.45 kB / 0.959 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.7058, allocations: 174.5 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.7058, allocations: 2.188 kB / 0.9591 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7058, allocations: 4.172 kB / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.7058, allocations: 0 / 0.9591 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002518/0.7061, allocations: 225.6 kB / 0.9594 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7061, allocations: 0 / 0.9594 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001374/0.7062, allocations: 27.23 kB / 0.9594 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.7062, allocations: 5.312 kB / 0.9594 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.7063, allocations: 7.953 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.7063, allocations: 1.375 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7063, allocations: 1.375 kB / 0.9594 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.7066, allocations: 328.9 kB / 0.9597 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.997e-05/0.7067, allocations: 89.05 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.7067, allocations: 1.375 kB / 0.9598 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.7069, allocations: 21.56 kB / 0.9598 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.7069, allocations: 10.73 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.707, allocations: 2.75 kB / 0.9598 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.365e-05/0.707, allocations: 125.5 kB / 0.96 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.707, allocations: 0 / 0.96 GB, free: 2.938 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002966/0.7074, allocations: 34.06 kB / 0.96 GB, free: 2.93 MB / 0.7169 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.0005951/0.708, allocations: 0.855 MB / 0.9608 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003431/0.7083, allocations: 118.5 kB / 0.9609 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.7083, allocations: 0 / 0.9609 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.7085, allocations: 65.88 kB / 0.961 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.709, allocations: 52.25 kB / 0.961 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001769/0.7108, allocations: 0.8361 MB / 0.9619 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.711, allocations: 0.7023 MB / 0.9626 GB, free: 0.707 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001232/0.7112, allocations: 14.95 kB / 0.9626 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.7113, allocations: 33.16 kB / 0.9626 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7113, allocations: 0 / 0.9626 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01649/0.7278, allocations: 3.223 MB / 0.9657 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.728, allocations: 212.3 kB / 0.9659 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.759/2.487, allocations: 0 / 0.9659 GB, free: 14.94 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat