Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.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.001315/0.001315, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001464/0.001464, allocations: 217.7 kB / 23 MB, free: 4.969 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|comSta.uSta|comSta.u1.1.|comSta.u1.2.|comSta.u1_actual.1.|comSta.u1_actual.2.|y1ComSta.y|comSta.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion") [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.002087/0.002087, allocations: 75.86 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3095, allocations: 176.1 MB / 1.327 GB, free: 1.027 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion): time 0.002332/0.3118, allocations: 1.005 MB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002716/0.3145, allocations: 1.798 MB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.3147, allocations: 11.88 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.3153, allocations: 223.3 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.3155, allocations: 131.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3165, allocations: 344.1 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.3179, allocations: 1.313 MB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003084/0.3182, allocations: 173.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.3189, allocations: 0.5539 MB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.3194, allocations: 430.9 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002514/0.3197, allocations: 84 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.3201, allocations: 135.9 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009928/0.321, allocations: 0.7485 MB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.3215, allocations: 398.4 kB / 1.334 GB, free: 9.699 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.323, allocations: 1.441 MB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.323, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.323, allocations: 0 / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.137e-05/0.323, allocations: 0 / 1.336 GB, free: 8.254 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002323/0.3254, allocations: 1.153 MB / 1.337 GB, free: 7.062 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3254, allocations: 12.03 kB / 1.337 GB, free: 7.051 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.3257, allocations: 96.41 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.3272, allocations: 0.6739 MB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.335e-05/0.3272, allocations: 57.02 kB / 1.338 GB, free: 6.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.3275, allocations: 72.38 kB / 1.338 GB, free: 6.129 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3285, allocations: 0.5684 MB / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3285, allocations: 0 / 1.338 GB, free: 5.555 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.795e-05/0.3286, allocations: 15.98 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3286, allocations: 8 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008481/0.3295, allocations: 486.3 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003209/0.3327, allocations: 1.433 MB / 1.34 GB, free: 3.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.3339, allocations: 0.7561 MB / 1.341 GB, free: 2.824 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.3344, allocations: 301.3 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.3344, allocations: 7.75 kB / 1.341 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008537/0.3353, allocations: 0.5127 MB / 1.342 GB, free: 1.992 MB / 1.029 GB Notification: Performance of pre-optimization done (n=53): time 2.916e-06/0.3353, allocations: 0 / 1.342 GB, free: 1.992 MB / 1.029 GB Notification: Performance of matching and sorting (n=53): time 0.001998/0.3373, allocations: 1.088 MB / 1.343 GB, free: 0.8984 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.51e-05/0.3373, allocations: 63.83 kB / 1.343 GB, free: 0.8242 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009786/0.3383, allocations: 0.7799 MB / 1.343 GB, free: 32 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/0.3385, allocations: 61.75 kB / 1.344 GB, free: 15.96 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.3388, allocations: 294.4 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3389, allocations: 123.1 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/0.3394, allocations: 314.7 kB / 1.344 GB, free: 15.24 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002027/0.3396, allocations: 382.7 kB / 1.345 GB, free: 14.86 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003468/0.34, allocations: 233.1 kB / 1.345 GB, free: 14.63 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.3422, allocations: 2.7 MB / 1.347 GB, free: 11.3 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005894/0.3428, allocations: 424 kB / 1.348 GB, free: 10.86 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.3428, allocations: 11.94 kB / 1.348 GB, free: 10.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001157/0.344, allocations: 0.6452 MB / 1.349 GB, free: 10.19 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.344, allocations: 8 kB / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.344, allocations: 0 / 1.349 GB, free: 10.18 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.344, allocations: 11.94 kB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.3443, allocations: 52.22 kB / 1.349 GB, free: 10.12 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/0.3443, allocations: 15.98 kB / 1.349 GB, free: 10.1 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/0.3464, allocations: 188.2 kB / 1.349 GB, free: 9.918 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.3465, allocations: 24 kB / 1.349 GB, free: 9.895 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition16,$whenCondition15,$whenCondition14,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,idxSta.idx,$PRE.idxSta.idx,idxSta.y[1],$PRE.idxSta.y[1],y1ComSta.entryTimeFalse,$PRE.y1ComSta.entryTimeFalse,y1ComSta.entryTimeTrue,$PRE.y1ComSta.entryTimeTrue,y1ComSta.not_y,$PRE.y1ComSta.not_y,y1ComSta.not_u,$PRE.y1ComSta.not_u,y1ComSta.y,$PRE.y1ComSta.y,y1ComSta.u,$PRE.y1ComSta.u,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[4],$PRE.booTimTab.intTimTab.y[4],booTimTab.intTimTab.y[3],$PRE.booTimTab.intTimTab.y[3],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[4],booTimTab.y[3],comSta.chaSta.down,comSta.chaSta.up,comSta.chaSta.y,comSta.chaSta.u,$PRE.comSta.chaSta.u,comSta.preAnyCha.y,comSta.preAnyCha.u,$PRE.comSta.preAnyCha.u,comSta.chaAndMat.y,comSta.anyCha.u[1],comSta.lckAnyCha.y,comSta.cha[2].y,comSta.cha[2].u,$PRE.comSta.cha[2].u,comSta.cha[1].u,$PRE.comSta.cha[1].u,comSta.lckChaSta.y,comSta.endStaPro.not_u,$PRE.comSta.endStaPro.not_u,comSta.onOrOff[2].y,comSta.allTru.y,comSta.allTru.u[1],comSta.disAndOff[2].y,comSta.disAndOff[1].y,comSta.enaAndOn[2].y,comSta.enaAndOn[1].y,comSta.y1End,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition11,$whenCondition12,$whenCondition13) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * 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.0005248/0.347, allocations: 350.7 kB / 1.349 GB, free: 9.543 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.3471, allocations: 67.58 kB / 1.349 GB, free: 9.477 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.3473, allocations: 82.03 kB / 1.349 GB, free: 9.391 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.3473, allocations: 3.984 kB / 1.349 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3473, allocations: 0 / 1.349 GB, free: 9.387 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.3474, allocations: 63.59 kB / 1.349 GB, free: 9.324 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.3475, allocations: 16 kB / 1.349 GB, free: 9.309 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000249/0.3478, allocations: 31.91 kB / 1.349 GB, free: 9.277 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.3479, allocations: 72.33 kB / 1.349 GB, free: 9.203 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001395/0.3493, allocations: 0.9017 MB / 1.35 GB, free: 8.297 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001354/0.3507, allocations: 1.011 MB / 1.351 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004542/0.3511, allocations: 295.3 kB / 1.352 GB, free: 6.984 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0006821/0.3518, allocations: 0.5417 MB / 1.352 GB, free: 6.445 MB / 1.045 GB Notification: Performance of Backend: time 2.6e-07/0.3518, allocations: 0 / 1.352 GB, free: 6.445 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.3531, allocations: 475.5 kB / 1.353 GB, free: 5.984 MB / 1.045 GB Notification: Performance of SimCode: time 0.001763/0.3548, allocations: 1.483 MB / 1.354 GB, free: 4.453 MB / 1.045 GB Notification: Performance of Templates: time 0.02338/0.3782, allocations: 14.36 MB / 1.368 GB, free: 6.293 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_StageCompletion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.StageCompletion.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.957097454003815]