Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_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.001293/0.001293, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.002338/0.002338, allocations: 172.7 kB / 15.95 MB, free: 208 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.439/1.439, allocations: 223.2 MB / 240 MB, free: 5.363 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.435/2.435, allocations: 390.4 MB / 0.6655 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 8 kB / 0.8149 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.931/0.9314, allocations: 142.3 MB / 0.9539 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002101/0.9335, allocations: 1.715 MB / 0.9555 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002/0.9355, allocations: 1.473 MB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.9357, allocations: 7.625 kB / 0.957 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 6.894e-05/0.9358, allocations: 35.58 kB / 0.957 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.936, allocations: 59.38 kB / 0.9571 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000595/0.9366, allocations: 222.2 kB / 0.9573 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.9371, allocations: 0.5594 MB / 0.9578 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003849/0.9375, allocations: 262.4 kB / 0.9581 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.9377, allocations: 137.9 kB / 0.9582 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001815/0.9379, allocations: 169.8 kB / 0.9584 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.938, allocations: 18.53 kB / 0.9584 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.97e-05/0.9381, allocations: 30.48 kB / 0.9584 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.9381, allocations: 63.27 kB / 0.9585 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.9382, allocations: 111.8 kB / 0.9586 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.9386, allocations: 0.5901 MB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.9386, allocations: 1.469 kB / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9387, allocations: 0 / 0.9592 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.9387, allocations: 0 / 0.9592 GB, free: 3.953 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.0009602/0.9396, allocations: 0.7181 MB / 0.9599 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.9397, allocations: 13.56 kB / 0.9599 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.49e-05/0.9398, allocations: 92.39 kB / 0.96 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.988e-05/0.9399, allocations: 73.44 kB / 0.96 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003815/0.9403, allocations: 350.8 kB / 0.9604 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.9403, allocations: 44.69 kB / 0.9604 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-05/0.9404, allocations: 59.81 kB / 0.9605 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008682/0.9413, allocations: 0.502 MB / 0.961 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.9413, allocations: 0 / 0.961 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.9414, allocations: 25.12 kB / 0.961 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.9414, allocations: 16.91 kB / 0.961 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006803/0.9421, allocations: 362.4 kB / 0.9613 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.9439, allocations: 1.466 MB / 0.9628 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005195/0.9444, allocations: 292.9 kB / 0.9631 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.9448, allocations: 184.8 kB / 0.9632 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.9449, allocations: 3.875 kB / 0.9632 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003706/0.9452, allocations: 201.1 kB / 0.9634 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.9452, allocations: 5.25 kB / 0.9634 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008056/0.9461, allocations: 408 kB / 0.9638 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.9461, allocations: 84.55 kB / 0.9639 GB, free: 472 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004023/0.9465, allocations: 408.4 kB / 0.9643 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.9465, allocations: 33.86 kB / 0.9643 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.9467, allocations: 271.6 kB / 0.9646 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.09e-05/0.9468, allocations: 108.4 kB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.9469, allocations: 6.531 kB / 0.9647 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001785/0.9471, allocations: 355.6 kB / 0.965 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.9474, allocations: 140.5 kB / 0.9652 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.9478, allocations: 202.7 kB / 0.9654 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003645/0.9481, allocations: 188.2 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9481, allocations: 5 kB / 0.9655 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000913/0.9491, allocations: 487.2 kB / 0.966 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.9491, allocations: 37.73 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.9491, allocations: 2 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.9492, allocations: 7.938 kB / 0.966 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.9495, allocations: 86.73 kB / 0.9661 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.9496, allocations: 4 kB / 0.9661 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.95, allocations: 93.3 kB / 0.9662 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.95, allocations: 17.59 kB / 0.9662 GB, free: 14.78 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002301/0.9503, allocations: 173.5 kB / 0.9664 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.751e-05/0.9503, allocations: 38.22 kB / 0.9664 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007346/0.9511, allocations: 352.4 kB / 0.9668 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.9511, allocations: 3.969 kB / 0.9668 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.9511, allocations: 4.672 kB / 0.9668 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-06/0.9511, allocations: 0.875 kB / 0.9668 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.9525, allocations: 0.9788 MB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9526, allocations: 1.969 kB / 0.9677 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.9528, allocations: 59.88 kB / 0.9678 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.9528, allocations: 3.344 kB / 0.9678 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.9529, allocations: 16.23 kB / 0.9678 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.131e-05/0.9529, allocations: 15.48 kB / 0.9678 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.9529, allocations: 2 kB / 0.9678 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/0.9536, allocations: 0.5144 MB / 0.9683 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.9537, allocations: 124.8 kB / 0.9685 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.931e-05/0.9538, allocations: 12.05 kB / 0.9685 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.954, allocations: 21.17 kB / 0.9685 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.9541, allocations: 23.12 kB / 0.9685 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.9541, allocations: 13.17 kB / 0.9685 GB, free: 13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003762/0.9545, allocations: 288.5 kB / 0.9688 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9545, allocations: 0 / 0.9688 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005431/0.9551, allocations: 103.8 kB / 0.9689 GB, free: 12.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001079/0.9561, allocations: 1.068 MB / 0.9699 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008036/0.957, allocations: 387.7 kB / 0.9703 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.957, allocations: 0 / 0.9703 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002748/0.9573, allocations: 149.5 kB / 0.9705 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005967/0.9579, allocations: 68.75 kB / 0.9705 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004504/0.9624, allocations: 2.449 MB / 0.9729 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004607/0.9629, allocations: 0.8297 MB / 0.9737 GB, free: 9.195 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.9631, allocations: 43.17 kB / 0.9738 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002023/0.9633, allocations: 154.3 kB / 0.9739 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of SimCode: time 8.11e-07/0.9633, allocations: 0 / 0.9739 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02026/0.9836, allocations: 7.38 MB / 0.9811 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.9838, allocations: 225.9 kB / 0.9813 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.872, allocations: 0 / 0.9813 GB, free: 3.539 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat