Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001589/0.001589, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001849/0.001849, allocations: 215.8 kB / 22.99 MB, free: 4.945 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.499/1.499, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.194/3.194, allocations: 0.4892 GB / 0.7951 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 68.98 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3222, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003596/0.3258, allocations: 1.939 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002529/0.3283, allocations: 1.56 MB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.3285, allocations: 8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.3286, allocations: 63.19 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002524/0.3289, allocations: 95.09 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007167/0.3296, allocations: 307.5 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006821/0.3303, allocations: 0.6293 MB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.3307, allocations: 254.3 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.331, allocations: 239.2 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000271/0.3313, allocations: 221.2 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.333e-05/0.3314, allocations: 72 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.3315, allocations: 103.9 kB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.3316, allocations: 123.6 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002303/0.3319, allocations: 234.9 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008239/0.3327, allocations: 0.8131 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3327, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3327, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3327, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 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.00123/0.3339, allocations: 0.7582 MB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.334, allocations: 8.031 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.3342, allocations: 72.56 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000459/0.3347, allocations: 298 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.3347, allocations: 41.69 kB / 1.334 GB, free: 9.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/0.3348, allocations: 56.38 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008763/0.3357, allocations: 0.5072 MB / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.3357, allocations: 192 / 1.334 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.3357, allocations: 23.94 kB / 1.334 GB, free: 9.379 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.783e-05/0.3358, allocations: 16 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.3365, allocations: 365 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.3384, allocations: 1.136 MB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000561/0.3389, allocations: 269.2 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.3394, allocations: 169.7 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.3394, allocations: 4 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004109/0.3398, allocations: 194.9 kB / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of pre-optimization done (n=34): time 1.543e-06/0.3398, allocations: 0 / 1.337 GB, free: 7.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=34): time 0.0008426/0.3407, allocations: 395 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.3408, allocations: 81.11 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.3411, allocations: 281.8 kB / 1.337 GB, free: 6.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.3411, allocations: 37.7 kB / 1.337 GB, free: 6.348 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.3413, allocations: 284.7 kB / 1.338 GB, free: 6.066 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.792e-05/0.3414, allocations: 119 kB / 1.338 GB, free: 5.949 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3416, allocations: 86.08 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.3417, allocations: 338.8 kB / 1.338 GB, free: 5.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.3421, allocations: 178.4 kB / 1.338 GB, free: 5.34 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.3424, allocations: 232.9 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005902/0.343, allocations: 340.4 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.343, allocations: 4 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008761/0.3439, allocations: 497.9 kB / 1.339 GB, free: 4.215 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.344, allocations: 41.69 kB / 1.339 GB, free: 4.168 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.344, allocations: 4 kB / 1.339 GB, free: 4.164 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.344, allocations: 4 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.3443, allocations: 80.08 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.3443, allocations: 15.94 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003276/0.3446, allocations: 63.64 kB / 1.339 GB, free: 4.004 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.969e-05/0.3447, allocations: 19.98 kB / 1.34 GB, free: 3.984 MB / 1.029 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.0002083/0.3449, allocations: 174.2 kB / 1.34 GB, free: 3.805 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.3449, allocations: 27.81 kB / 1.34 GB, free: 3.777 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006521/0.3456, allocations: 318.9 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.3456, allocations: 4 kB / 1.34 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3456, allocations: 4 kB / 1.34 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-06/0.3456, allocations: 3.938 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.3468, allocations: 0.8183 MB / 1.341 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3468, allocations: 4 kB / 1.341 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002476/0.347, allocations: 64.03 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.347, allocations: 4 kB / 1.341 GB, free: 2.504 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.347, allocations: 11.94 kB / 1.341 GB, free: 2.492 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.347, allocations: 4 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.347, allocations: 0 / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006736/0.3477, allocations: 0.5017 MB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3478, allocations: 39.64 kB / 1.341 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.193e-05/0.3478, allocations: 15.98 kB / 1.341 GB, free: 1.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.348, allocations: 12 kB / 1.341 GB, free: 1.883 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.3481, allocations: 31.83 kB / 1.341 GB, free: 1.852 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.3481, allocations: 16 kB / 1.341 GB, free: 1.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001999/0.3483, allocations: 197.2 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 0 / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004629/0.3488, allocations: 115.6 kB / 1.342 GB, free: 1.535 MB / 1.029 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.0001594/0.3489, allocations: 119.1 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007626/0.3497, allocations: 397.2 kB / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.3497, allocations: 0 / 1.342 GB, free: 1.004 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002943/0.35, allocations: 134.2 kB / 1.342 GB, free: 0.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.3505, allocations: 60.38 kB / 1.342 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.3518, allocations: 0.7636 MB / 1.343 GB, free: 0 / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.3521, allocations: 224 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.3522, allocations: 35.44 kB / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of SimCode: time 2.7e-07/0.3522, allocations: 0 / 1.343 GB, free: 15.72 MB / 1.045 GB Notification: Performance of Templates: time 0.007978/0.3602, allocations: 4.777 MB / 1.348 GB, free: 10.95 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.183487697970122]