Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 197.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.88/2.88, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 67.89 kB / 0.8692 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8304/0.8324, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004276/0.8367, allocations: 2.207 MB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.8399, allocations: 1.533 MB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000497/0.8404, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002583/0.8407, allocations: 59.2 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005811/0.8413, allocations: 87.09 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000939/0.8423, allocations: 303 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.8431, allocations: 0.6371 MB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005942/0.8437, allocations: 361.8 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002857/0.844, allocations: 235.1 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.8443, allocations: 250.8 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.8444, allocations: 75.94 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001524/0.8445, allocations: 83.98 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.8447, allocations: 123.6 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.845, allocations: 298.5 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008512/0.8458, allocations: 0.7651 MB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.8458, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8458, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8459, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 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.001365/0.8472, allocations: 0.8107 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8473, allocations: 12.03 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.8474, allocations: 64.19 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.8479, allocations: 359.6 kB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.8479, allocations: 45.69 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/0.848, allocations: 56.36 kB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008782/0.8489, allocations: 0.5069 MB / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.8489, allocations: 192 / 1.026 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.424e-05/0.849, allocations: 31.94 kB / 1.026 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.849, allocations: 16 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.8498, allocations: 352.7 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.8519, allocations: 1.457 MB / 1.028 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006089/0.8525, allocations: 291.3 kB / 1.028 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.853, allocations: 181.6 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.853, allocations: 7.984 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004418/0.8535, allocations: 206.8 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.8535, allocations: 0 / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008969/0.8544, allocations: 388.9 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.8545, allocations: 81.11 kB / 1.029 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.8549, allocations: 417.5 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.823e-05/0.855, allocations: 33.7 kB / 1.029 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.8552, allocations: 267.9 kB / 1.03 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.765e-05/0.8553, allocations: 110.5 kB / 1.03 GB, free: 5.574 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.8555, allocations: 82.03 kB / 1.03 GB, free: 5.488 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001742/0.8557, allocations: 350.8 kB / 1.03 GB, free: 5.137 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.856, allocations: 132.8 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003732/0.8564, allocations: 207.1 kB / 1.03 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.857, allocations: 347.4 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.857, allocations: 0 / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009424/0.858, allocations: 460.2 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.858, allocations: 45.62 kB / 1.031 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.8581, allocations: 12.12 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.8581, allocations: 4 kB / 1.031 GB, free: 3.887 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003318/0.8584, allocations: 79.91 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.8584, allocations: 7.938 kB / 1.031 GB, free: 3.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003826/0.8588, allocations: 83.33 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-05/0.8589, allocations: 15.98 kB / 1.031 GB, free: 3.703 MB / 0.7794 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,TRoo1.booPul.y,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.8591, allocations: 173.8 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.8592, allocations: 47.38 kB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.8599, allocations: 324.1 kB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8599, allocations: 0 / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.8599, allocations: 7.938 kB / 1.032 GB, free: 3.148 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.8599, allocations: 7.922 kB / 1.032 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.8612, allocations: 0.968 MB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.8613, allocations: 7.984 kB / 1.033 GB, free: 2.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.8615, allocations: 64.09 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.8615, allocations: 4 kB / 1.033 GB, free: 2.023 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.8616, allocations: 8 kB / 1.033 GB, free: 2.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.8616, allocations: 4 kB / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8616, allocations: 0 / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007172/0.8623, allocations: 0.5083 MB / 1.033 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.8624, allocations: 132.5 kB / 1.034 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.033e-05/0.8625, allocations: 8 kB / 1.034 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.8627, allocations: 15.98 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/0.8628, allocations: 23.97 kB / 1.034 GB, free: 1.273 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.8628, allocations: 19.94 kB / 1.034 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003299/0.8632, allocations: 287.2 kB / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8632, allocations: 0 / 1.034 GB, free: 0.9805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004726/0.8636, allocations: 111.6 kB / 1.034 GB, free: 0.8711 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001761/0.8638, allocations: 123.1 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007699/0.8646, allocations: 388.8 kB / 1.034 GB, free: 360 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.8646, allocations: 0 / 1.034 GB, free: 360 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.8649, allocations: 142 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.8655, allocations: 69.62 kB / 1.035 GB, free: 152 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.8668, allocations: 0.7395 MB / 1.035 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.8673, allocations: 0.8237 MB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001787/0.8674, allocations: 47.25 kB / 1.036 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.8675, allocations: 35.44 kB / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.8675, allocations: 0 / 1.036 GB, free: 14.43 MB / 0.795 GB Notification: Performance of Templates: time 0.009189/0.8767, allocations: 3.953 MB / 1.04 GB, free: 10.52 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches