Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001131/0.001131, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008312/0.0008312, allocations: 178.2 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.895/0.895, allocations: 177.2 MB / 203.5 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.643/1.643, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9517 GB, free: 3.012 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.885e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002214/0.002232, allocations: 1.933 MB / 0.9536 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.003905, allocations: 1.575 MB / 0.9551 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001611/0.004066, allocations: 8 kB / 0.9551 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 9.075e-05/0.004157, allocations: 59.2 kB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001874/0.004344, allocations: 103 kB / 0.9553 GB, free: 15.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.004908, allocations: 312.5 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.005355, allocations: 0.6447 MB / 0.9562 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.005655, allocations: 254.4 kB / 0.9565 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002721/0.005927, allocations: 355.3 kB / 0.9568 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001672/0.006094, allocations: 191.4 kB / 0.957 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.759e-05/0.006152, allocations: 68 kB / 0.9571 GB, free: 13.5 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.006252, allocations: 91.97 kB / 0.9571 GB, free: 13.41 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.965e-05/0.006321, allocations: 131.6 kB / 0.9573 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.006445, allocations: 195.5 kB / 0.9575 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005483/0.006994, allocations: 0.837 MB / 0.9583 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.006996, allocations: 0 / 0.9583 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.703e-06/0.006998, allocations: 4 kB / 0.9583 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.007004, allocations: 0 / 0.9583 GB, free: 12.24 MB / 0.9167 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.0008114/0.007815, allocations: 0.7447 MB / 0.959 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.007864, allocations: 12.03 kB / 0.959 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.008033, allocations: 72.48 kB / 0.9591 GB, free: 11.37 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003417/0.008375, allocations: 305.6 kB / 0.9594 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.00841, allocations: 45.69 kB / 0.9594 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.008457, allocations: 56.38 kB / 0.9595 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.009011, allocations: 0.5071 MB / 0.96 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.009026, allocations: 4.172 kB / 0.96 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.009057, allocations: 24.38 kB / 0.96 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.009067, allocations: 12.38 kB / 0.96 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.009523, allocations: 361 kB / 0.9603 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.01069, allocations: 1.144 MB / 0.9615 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.01106, allocations: 257.4 kB / 0.9617 GB, free: 8.59 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.0113, allocations: 169.6 kB / 0.9619 GB, free: 8.418 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.01132, allocations: 11.92 kB / 0.9619 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.01156, allocations: 202.8 kB / 0.9621 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=34): time 1.443e-06/0.01156, allocations: 0 / 0.9621 GB, free: 8.188 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34): time 0.0005132/0.01208, allocations: 379.3 kB / 0.9624 GB, free: 7.812 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.01212, allocations: 85.11 kB / 0.9625 GB, free: 7.711 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.01232, allocations: 281.8 kB / 0.9628 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.726e-05/0.01235, allocations: 33.7 kB / 0.9628 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.01248, allocations: 288.6 kB / 0.9631 GB, free: 7.102 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.76e-05/0.01254, allocations: 119 kB / 0.9632 GB, free: 6.984 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.01263, allocations: 78.14 kB / 0.9633 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.381e-05/0.01272, allocations: 342.8 kB / 0.9636 GB, free: 6.559 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.01292, allocations: 166.6 kB / 0.9638 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.01313, allocations: 233.4 kB / 0.964 GB, free: 6.133 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000345/0.01348, allocations: 342.7 kB / 0.9643 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.01348, allocations: 0 / 0.9643 GB, free: 5.77 MB / 0.9167 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005162/0.014, allocations: 0.4925 MB / 0.9648 GB, free: 5.258 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.01403, allocations: 37.7 kB / 0.9648 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.01403, allocations: 0 / 0.9648 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.01405, allocations: 4 kB / 0.9648 GB, free: 5.211 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.01421, allocations: 83.83 kB / 0.9649 GB, free: 5.129 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.01422, allocations: 4 kB / 0.9649 GB, free: 5.125 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.01438, allocations: 63.89 kB / 0.965 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.0144, allocations: 19.98 kB / 0.965 GB, free: 5.043 MB / 0.9167 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.0001317/0.01454, allocations: 185.5 kB / 0.9652 GB, free: 4.852 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01456, allocations: 27.81 kB / 0.9652 GB, free: 4.824 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003818/0.01494, allocations: 322.7 kB / 0.9655 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.01495, allocations: 4 kB / 0.9655 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.01495, allocations: 0 / 0.9655 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01496, allocations: 8 kB / 0.9655 GB, free: 4.488 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.01563, allocations: 0.8222 MB / 0.9663 GB, free: 3.609 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.01563, allocations: 4 kB / 0.9663 GB, free: 3.605 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.01576, allocations: 59.91 kB / 0.9664 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.01576, allocations: 4 kB / 0.9664 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.01577, allocations: 8.188 kB / 0.9664 GB, free: 3.535 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.01578, allocations: 11.94 kB / 0.9664 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01578, allocations: 3.938 kB / 0.9664 GB, free: 3.52 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.01614, allocations: 493.8 kB / 0.9669 GB, free: 2.996 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.01618, allocations: 43.67 kB / 0.9669 GB, free: 2.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.0162, allocations: 8 kB / 0.9669 GB, free: 2.945 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.0163, allocations: 23.92 kB / 0.967 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.647e-05/0.0164, allocations: 19.91 kB / 0.967 GB, free: 2.902 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.01641, allocations: 19.98 kB / 0.967 GB, free: 2.883 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001196/0.01653, allocations: 193.2 kB / 0.9672 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01653, allocations: 0 / 0.9672 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00028/0.01681, allocations: 123.6 kB / 0.9673 GB, free: 2.574 MB / 0.9167 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.0001126/0.01693, allocations: 115.1 kB / 0.9674 GB, free: 2.453 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004242/0.01735, allocations: 391.4 kB / 0.9678 GB, free: 2.055 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.01735, allocations: 4.125 kB / 0.9678 GB, free: 2.051 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.01751, allocations: 135.8 kB / 0.9679 GB, free: 1.918 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.01785, allocations: 60.31 kB / 0.968 GB, free: 1.859 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008014/0.01865, allocations: 0.7624 MB / 0.9687 GB, free: 1.043 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.01879, allocations: 220.1 kB / 0.9689 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.01886, allocations: 32.5 kB / 0.969 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.01886, allocations: 4 kB / 0.969 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of Templates: time 0.004474/0.02333, allocations: 4.783 MB / 0.9736 GB, free: 12 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.425882018171251]