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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 76.23 kB / 19.18 MB, free: 2.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 165.6 kB / 22.45 MB, free: 5.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.987/2.987, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 1 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.565e-05, allocations: 2.281 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003506/0.003532, allocations: 1.936 MB / 1.002 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.006218, allocations: 1.579 MB / 1.004 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002325/0.00645, allocations: 8 kB / 1.004 GB, free: 3.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.006587, allocations: 59.2 kB / 1.004 GB, free: 3.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002846/0.006871, allocations: 99.02 kB / 1.004 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.00767, allocations: 310.5 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.008418, allocations: 0.6486 MB / 1.005 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004525/0.00887, allocations: 250.4 kB / 1.005 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004983/0.009369, allocations: 363.3 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.009639, allocations: 181.6 kB / 1.005 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.009746, allocations: 72 kB / 1.005 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.009931, allocations: 91.97 kB / 1.006 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.01007, allocations: 131.5 kB / 1.006 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002624/0.01033, allocations: 199.5 kB / 1.006 GB, free: 1.383 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009858/0.01132, allocations: 0.8448 MB / 1.007 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.01133, allocations: 0 / 1.007 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01133, allocations: 0 / 1.007 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.522e-05/0.01134, allocations: 0 / 1.007 GB, free: 0.5352 MB / 0.9512 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.001399/0.01274, allocations: 0.7486 MB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.01279, allocations: 8.031 kB / 1.007 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002834/0.01307, allocations: 68.56 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005081/0.01358, allocations: 297.7 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.263e-05/0.01363, allocations: 45.62 kB / 1.008 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.503e-05/0.01372, allocations: 56.38 kB / 1.008 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.01467, allocations: 0.5072 MB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.01469, allocations: 192 / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.01474, allocations: 24.38 kB / 1.008 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.01476, allocations: 12.38 kB / 1.008 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007609/0.01552, allocations: 361 kB / 1.009 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.01757, allocations: 1.151 MB / 1.01 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.01818, allocations: 261.4 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.01861, allocations: 165.6 kB / 1.01 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.01865, allocations: 4 kB / 1.01 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004691/0.01912, allocations: 210.8 kB / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.054e-06/0.01912, allocations: 0 / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0009452/0.02006, allocations: 387.5 kB / 1.011 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.02014, allocations: 81.11 kB / 1.011 GB, free: 12.01 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003379/0.02048, allocations: 285.8 kB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/0.02052, allocations: 33.7 kB / 1.011 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.02077, allocations: 284.7 kB / 1.011 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.02088, allocations: 126.9 kB / 1.012 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.02105, allocations: 82.19 kB / 1.012 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002078/0.02125, allocations: 342.8 kB / 1.012 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.02161, allocations: 162.6 kB / 1.012 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004155/0.02202, allocations: 233.5 kB / 1.012 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006393/0.02266, allocations: 344.7 kB / 1.013 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.02267, allocations: 0 / 1.013 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009867/0.02365, allocations: 0.4925 MB / 1.013 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.0237, allocations: 37.89 kB / 1.013 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.02371, allocations: 4 kB / 1.013 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.02373, allocations: 4 kB / 1.013 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.02405, allocations: 79.89 kB / 1.013 GB, free: 9.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.02406, allocations: 4 kB / 1.013 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003431/0.02441, allocations: 59.73 kB / 1.013 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.02445, allocations: 16 kB / 1.013 GB, free: 9.344 MB / 0.9669 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.0002299/0.02468, allocations: 186.1 kB / 1.014 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.92e-05/0.02474, allocations: 39.75 kB / 1.014 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007181/0.02546, allocations: 311.5 kB / 1.014 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.02546, allocations: 4 kB / 1.014 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.02547, allocations: 0 / 1.014 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.02548, allocations: 3.984 kB / 1.014 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.02667, allocations: 0.8184 MB / 1.015 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02667, allocations: 0 / 1.015 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.02692, allocations: 55.91 kB / 1.015 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.02693, allocations: 4 kB / 1.015 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.02695, allocations: 8 kB / 1.015 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.033e-06/0.02696, allocations: 11.88 kB / 1.015 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.02696, allocations: 4 kB / 1.015 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.02767, allocations: 0.4985 MB / 1.015 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/0.02773, allocations: 47.66 kB / 1.015 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.367e-05/0.02777, allocations: 8 kB / 1.015 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.02799, allocations: 15.92 kB / 1.015 GB, free: 7.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.02807, allocations: 27.95 kB / 1.015 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.02809, allocations: 12 kB / 1.015 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002154/0.0283, allocations: 197.2 kB / 1.016 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.0283, allocations: 0 / 1.016 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005135/0.02882, allocations: 119.6 kB / 1.016 GB, free: 6.887 MB / 0.9669 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.0001923/0.02901, allocations: 123.1 kB / 1.016 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007481/0.02976, allocations: 391.4 kB / 1.016 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.02976, allocations: 0 / 1.016 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.03005, allocations: 132.5 kB / 1.016 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005558/0.0306, allocations: 54.23 kB / 1.016 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.03202, allocations: 0.7389 MB / 1.017 GB, free: 5.391 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.0323, allocations: 220.1 kB / 1.017 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001394/0.03244, allocations: 30.97 kB / 1.017 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.807e-05/0.03252, allocations: 28.5 kB / 1.017 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.91e-07/0.03252, allocations: 0 / 1.017 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.008924/0.04144, allocations: 3.319 MB / 1.021 GB, free: 1.859 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.58236887678504]