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.001373/0.001373, allocations: 99.39 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.001613/0.001614, allocations: 177.3 kB / 15.95 MB, free: 216 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.414/1.414, 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 9.1.1-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003455, allocations: 12 kB / 0.8146 GB, free: 14.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8145/0.8149, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002217/0.8172, allocations: 1.709 MB / 0.9553 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002515/0.8197, allocations: 1.473 MB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004292/0.8202, allocations: 8.062 kB / 0.9567 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001335/0.8203, allocations: 35.58 kB / 0.9567 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.8208, allocations: 89.67 kB / 0.9568 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.8215, allocations: 223.2 kB / 0.957 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006477/0.8222, allocations: 370.8 kB / 0.9574 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.8226, allocations: 254.7 kB / 0.9576 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002772/0.8229, allocations: 145.3 kB / 0.9578 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.8232, allocations: 161.5 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.466e-05/0.8233, allocations: 15.5 kB / 0.9579 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.8234, allocations: 29.67 kB / 0.958 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.538e-05/0.8235, allocations: 64.34 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.8236, allocations: 111 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.8241, allocations: 0.5911 MB / 0.9587 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.766e-06/0.8241, allocations: 0 / 0.9587 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8241, allocations: 0 / 0.9587 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.543e-05/0.8241, allocations: 0 / 0.9587 GB, free: 4.125 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.001225/0.8254, allocations: 0.7146 MB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.8254, allocations: 9.625 kB / 0.9594 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.8255, allocations: 100.3 kB / 0.9595 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001533/0.8257, allocations: 69.39 kB / 0.9596 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/0.8262, allocations: 350.8 kB / 0.9599 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.8263, allocations: 40.69 kB / 0.96 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.542e-05/0.8263, allocations: 58.97 kB / 0.96 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.8273, allocations: 0.5021 MB / 0.9605 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.8273, allocations: 0 / 0.9605 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.8273, allocations: 24.94 kB / 0.9605 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.8274, allocations: 13.56 kB / 0.9605 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007412/0.8281, allocations: 369.8 kB / 0.9609 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002187/0.8303, allocations: 1.458 MB / 0.9623 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005966/0.8309, allocations: 292.4 kB / 0.9626 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.831, allocations: 12.94 kB / 0.9626 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003719/0.8314, allocations: 200.4 kB / 0.9628 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=34): time 2.545e-06/0.8314, allocations: 0 / 0.9628 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=34): time 0.0008638/0.8322, allocations: 405.7 kB / 0.9632 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.8323, allocations: 84.23 kB / 0.9633 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004598/0.8328, allocations: 408.7 kB / 0.9637 GB, free: 488 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.8328, allocations: 36.77 kB / 0.9637 GB, free: 448 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.833, allocations: 268.2 kB / 0.964 GB, free: 204 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.833, allocations: 112.7 kB / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.8331, allocations: 11.72 kB / 0.9641 GB, free: 96 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8332, allocations: 350.9 kB / 0.9644 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.8336, allocations: 136.4 kB / 0.9645 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003597/0.8339, allocations: 209 kB / 0.9647 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.8343, allocations: 183.3 kB / 0.9649 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.8343, allocations: 0.9688 kB / 0.9649 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000975/0.8353, allocations: 486.7 kB / 0.9654 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.834e-05/0.8354, allocations: 41.38 kB / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8354, allocations: 2 kB / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.8354, allocations: 4.094 kB / 0.9654 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.8357, allocations: 78 kB / 0.9655 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8358, allocations: 3.688 kB / 0.9655 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004387/0.8362, allocations: 90.66 kB / 0.9656 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-05/0.8363, allocations: 21.14 kB / 0.9656 GB, free: 15.06 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.0002644/0.8365, allocations: 181.5 kB / 0.9658 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.899e-05/0.8366, allocations: 39.31 kB / 0.9658 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007145/0.8373, allocations: 341.6 kB / 0.9661 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8374, allocations: 3 kB / 0.9661 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8374, allocations: 1.031 kB / 0.9661 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.8374, allocations: 5.062 kB / 0.9661 GB, free: 14.67 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.8388, allocations: 0.9783 MB / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.8388, allocations: 2.031 kB / 0.9671 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002432/0.8391, allocations: 63.34 kB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.8391, allocations: 3.156 kB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/0.8391, allocations: 12.23 kB / 0.9672 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.8391, allocations: 6.953 kB / 0.9672 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.8391, allocations: 2.188 kB / 0.9672 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008617/0.84, allocations: 0.6013 MB / 0.9678 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.8402, allocations: 125 kB / 0.9679 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.8403, allocations: 12.14 kB / 0.9679 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.8405, allocations: 16.11 kB / 0.9679 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.8406, allocations: 31.78 kB / 0.968 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.8406, allocations: 9.312 kB / 0.968 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004226/0.8411, allocations: 292.6 kB / 0.9682 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8411, allocations: 0 / 0.9682 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005911/0.8417, allocations: 99.69 kB / 0.9683 GB, free: 12.96 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.00146/0.8431, allocations: 1.644 MB / 0.9699 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0008119/0.844, allocations: 386.4 kB / 0.9703 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.844, allocations: 0 / 0.9703 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.8443, allocations: 147.1 kB / 0.9705 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.8448, allocations: 52 kB / 0.9705 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.8473, allocations: 2.338 MB / 0.9728 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.8479, allocations: 0.8348 MB / 0.9736 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001852/0.8481, allocations: 47.69 kB / 0.9736 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.8483, allocations: 149.3 kB / 0.9738 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of SimCode: time 5.72e-07/0.8483, allocations: 1.312 kB / 0.9738 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.8712, allocations: 7.191 MB / 0.9808 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000209/0.8714, allocations: 221.8 kB / 0.981 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.696, allocations: 4.062 kB / 0.981 GB, free: 3.535 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