Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: 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_latest_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_latest_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.008686/0.008687, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001539/0.001539, allocations: 196.2 kB / 16.67 MB, free: 6.352 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.561/1.561, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.021/3.021, allocations: 472.6 MB / 0.7453 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 64.11 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4066, allocations: 159.9 MB / 1.226 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003735/0.4104, allocations: 2.223 MB / 1.228 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002394/0.4128, allocations: 1.528 MB / 1.229 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002516/0.4131, allocations: 8 kB / 1.229 GB, free: 5.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.4133, allocations: 63.2 kB / 1.229 GB, free: 5.391 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002691/0.4136, allocations: 87.09 kB / 1.229 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.4144, allocations: 298.4 kB / 1.23 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006548/0.415, allocations: 0.6488 MB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005442/0.4156, allocations: 365.8 kB / 1.231 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002647/0.4159, allocations: 231.1 kB / 1.231 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.4162, allocations: 254.8 kB / 1.231 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.192e-05/0.4163, allocations: 72 kB / 1.231 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.4164, allocations: 83.98 kB / 1.231 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.4165, allocations: 135.5 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002578/0.4168, allocations: 286.6 kB / 1.232 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000795/0.4176, allocations: 0.8013 MB / 1.232 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4176, allocations: 4 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4176, allocations: 0 / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.4176, allocations: 7.938 kB / 1.232 GB, free: 2.137 MB / 0.9825 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.001342/0.419, allocations: 0.8239 MB / 1.233 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.419, allocations: 12.03 kB / 1.233 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.4192, allocations: 60.56 kB / 1.233 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.4196, allocations: 355.9 kB / 1.234 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.4197, allocations: 49.69 kB / 1.234 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.947e-05/0.4198, allocations: 56.38 kB / 1.234 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008957/0.4207, allocations: 0.5069 MB / 1.234 GB, free: 172 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4207, allocations: 4.172 kB / 1.234 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.4207, allocations: 23.94 kB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4208, allocations: 12 kB / 1.234 GB, free: 132 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006897/0.4215, allocations: 364.7 kB / 1.235 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.4236, allocations: 1.438 MB / 1.236 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.4242, allocations: 289.3 kB / 1.236 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.4246, allocations: 185.6 kB / 1.237 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.4247, allocations: 7.938 kB / 1.237 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.4251, allocations: 202.8 kB / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.164e-06/0.4252, allocations: 0 / 1.237 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0009/0.4261, allocations: 394.6 kB / 1.237 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.4261, allocations: 81.11 kB / 1.237 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.4266, allocations: 413.6 kB / 1.238 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.4267, allocations: 37.64 kB / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.4269, allocations: 268.4 kB / 1.238 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.393e-05/0.427, allocations: 123 kB / 1.238 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001501/0.4272, allocations: 86.06 kB / 1.238 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4273, allocations: 354.8 kB / 1.238 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002922/0.4276, allocations: 132.8 kB / 1.239 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003307/0.428, allocations: 203.1 kB / 1.239 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.4286, allocations: 343.9 kB / 1.239 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.4286, allocations: 4 kB / 1.239 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009342/0.4295, allocations: 468.1 kB / 1.24 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.769e-05/0.4296, allocations: 45.69 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.4296, allocations: 7.938 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.4296, allocations: 4 kB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.43, allocations: 80.03 kB / 1.24 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.352e-05/0.43, allocations: 19.91 kB / 1.24 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.4304, allocations: 79.48 kB / 1.24 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.4304, allocations: 19.98 kB / 1.24 GB, free: 10.35 MB / 0.9981 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.00021/0.4306, allocations: 167.2 kB / 1.24 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/0.4307, allocations: 43.72 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.4314, allocations: 328.9 kB / 1.24 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4314, allocations: 0 / 1.24 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.4314, allocations: 7.938 kB / 1.24 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.4314, allocations: 3.984 kB / 1.24 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.4327, allocations: 0.9708 MB / 1.241 GB, free: 8.746 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4327, allocations: 3.938 kB / 1.241 GB, free: 8.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/0.433, allocations: 63.91 kB / 1.241 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.433, allocations: 4 kB / 1.241 GB, free: 8.676 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.137e-05/0.433, allocations: 8 kB / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.433, allocations: 0 / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.433, allocations: 8.188 kB / 1.241 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006567/0.4337, allocations: 0.5172 MB / 1.242 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/0.4338, allocations: 128.8 kB / 1.242 GB, free: 7.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.713e-05/0.4339, allocations: 8 kB / 1.242 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.4341, allocations: 11.98 kB / 1.242 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.4342, allocations: 23.97 kB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.671e-05/0.4342, allocations: 11.94 kB / 1.242 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003084/0.4345, allocations: 295.2 kB / 1.242 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4345, allocations: 0 / 1.242 GB, free: 7.621 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000473/0.435, allocations: 107.8 kB / 1.242 GB, free: 7.516 MB / 0.9981 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.0001915/0.4352, allocations: 111.2 kB / 1.242 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007322/0.4359, allocations: 390 kB / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.436, allocations: 0 / 1.243 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.4362, allocations: 143.8 kB / 1.243 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.4368, allocations: 74.12 kB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4381, allocations: 0.7615 MB / 1.244 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.4386, allocations: 0.8159 MB / 1.245 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001654/0.4387, allocations: 43.27 kB / 1.245 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.4388, allocations: 35.42 kB / 1.245 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.4388, allocations: 0 / 1.245 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of Templates: time 0.008738/0.4476, allocations: 4.038 MB / 1.249 GB, free: 1.098 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches