Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.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.001335/0.001335, 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.001501/0.001501, allocations: 215.4 kB / 23 MB, free: 4.965 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.245/3.245, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|faiSafHea.TSupSet|faiSafHea.TPriSup|faiSafHea.TSecSup|faiSafHea.reset|faiSafHea.y1|faiSafCoo.TSupSet|faiSafCoo.TPriSup|faiSafCoo.TSecSup|faiSafCoo.reset|faiSafCoo.y1|faiSafCooPri.TSupSet|faiSafCooPri.TPriSup|faiSafCooPri.reset|faiSafCooPri.y1",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") [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.002027/0.002027, allocations: 71.27 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3012, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition): time 0.004297/0.3055, allocations: 2.431 MB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003265/0.3088, allocations: 2.035 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004502/0.3092, allocations: 31.75 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003676/0.3096, allocations: 142.6 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.3099, allocations: 118.9 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009872/0.3109, allocations: 459.3 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001044/0.3119, allocations: 1.05 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004991/0.3124, allocations: 294.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004834/0.3129, allocations: 398.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004238/0.3133, allocations: 386.2 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000142/0.3135, allocations: 108 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.3136, allocations: 124 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.3138, allocations: 203.4 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003207/0.3141, allocations: 330.5 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.3153, allocations: 1.167 MB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3153, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3153, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.561e-05/0.3153, allocations: 0 / 1.336 GB, free: 7.734 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002228/0.3175, allocations: 1.084 MB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.3176, allocations: 11.97 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.3181, allocations: 136.3 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.3194, allocations: 0.5739 MB / 1.338 GB, free: 5.855 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.782e-05/0.3195, allocations: 57.67 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.3196, allocations: 76.36 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3208, allocations: 0.6043 MB / 1.339 GB, free: 5.113 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3208, allocations: 3.938 kB / 1.339 GB, free: 5.109 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.208e-05/0.3209, allocations: 27.98 kB / 1.339 GB, free: 5.082 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.3209, allocations: 15.94 kB / 1.339 GB, free: 5.066 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009412/0.3218, allocations: 453 kB / 1.339 GB, free: 4.625 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/0.3245, allocations: 1.318 MB / 1.34 GB, free: 3.273 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.3256, allocations: 0.5141 MB / 1.341 GB, free: 2.746 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.326, allocations: 232.7 kB / 1.341 GB, free: 2.516 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.3261, allocations: 4 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009271/0.327, allocations: 0.5149 MB / 1.342 GB, free: 1.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=68): time 2.534e-06/0.327, allocations: 0 / 1.342 GB, free: 1.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=68): time 0.001883/0.3289, allocations: 0.9817 MB / 1.343 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.192e-05/0.3289, allocations: 75.98 kB / 1.343 GB, free: 0.9062 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004663/0.3294, allocations: 425.7 kB / 1.343 GB, free: 492 kB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.86e-05/0.3295, allocations: 69.69 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.3297, allocations: 297.3 kB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.3299, allocations: 182.7 kB / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002424/0.3302, allocations: 150.6 kB / 1.344 GB, free: 15.77 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3303, allocations: 370.8 kB / 1.344 GB, free: 15.4 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005169/0.3309, allocations: 255.6 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005902/0.3315, allocations: 359.3 kB / 1.345 GB, free: 14.77 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008198/0.3323, allocations: 457.8 kB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.3323, allocations: 0 / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001333/0.3336, allocations: 0.7225 MB / 1.346 GB, free: 13.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.3337, allocations: 37.64 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3337, allocations: 80 / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.739e-05/0.3337, allocations: 4 kB / 1.346 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003417/0.334, allocations: 83.75 kB / 1.346 GB, free: 13.42 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.334, allocations: 15.92 kB / 1.346 GB, free: 13.4 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005284/0.3346, allocations: 99.72 kB / 1.346 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.3346, allocations: 27.98 kB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 73 (faiSafCooPri.timPriSet.passed,$PRE.faiSafCooPri.timPriSet.passed,$whenCondition11,$whenCondition12,booPul.y,$PRE.booPul.y,$whenCondition4,faiSafHea.timSecSet.passed,$PRE.faiSafHea.timSecSet.passed,faiSafHea.ph.y,faiSafHea.y1,faiSafHea.timSecPri.passed,$PRE.faiSafHea.timSecPri.passed,faiSafHea.timPriSet.passed,$PRE.faiSafHea.timPriSet.passed,faiSafHea.timSecSet.entryTime,$PRE.faiSafHea.timSecSet.entryTime,faiSafHea.lesSecSet.lesHys.y,$PRE.faiSafHea.lesSecSet.lesHys.y,faiSafHea.timSecPri.entryTime,$PRE.faiSafHea.timSecPri.entryTime,faiSafHea.timPriSet.entryTime,$PRE.faiSafHea.timPriSet.entryTime,faiSafHea.lesSecPri.lesHys.y,$PRE.faiSafHea.lesSecPri.lesHys.y,faiSafHea.lesPriSet.lesHys.y,$PRE.faiSafHea.lesPriSet.lesHys.y,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition10,$whenCondition9,$whenCondition8,faiSafCoo.timSecSet.entryTime,$PRE.faiSafCoo.timSecSet.entryTime,faiSafCoo.lesSecSet.lesHys.y,$PRE.faiSafCoo.lesSecSet.lesHys.y,faiSafCoo.timSecPri.entryTime,$PRE.faiSafCoo.timSecPri.entryTime,faiSafCoo.timPriSet.entryTime,$PRE.faiSafCoo.timPriSet.entryTime,faiSafCoo.lesSecPri.lesHys.y,$PRE.faiSafCoo.lesSecPri.lesHys.y,faiSafCoo.lesPriSet.lesHys.y,$PRE.faiSafCoo.lesPriSet.lesHys.y,faiSafCooPri.timPriSet.entryTime,$PRE.faiSafCooPri.timPriSet.entryTime,faiSafCooPri.lesPriSet.lesHys.y,$PRE.faiSafCooPri.lesPriSet.lesHys.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition24,$whenCondition23,$whenCondition22,faiSafCoo.timSecSet.passed,$PRE.faiSafCoo.timSecSet.passed,faiSafCoo.ph.y,faiSafCoo.y1,faiSafCoo.timSecPri.passed,$PRE.faiSafCoo.timSecPri.passed,faiSafCoo.timPriSet.passed,$PRE.faiSafCoo.timPriSet.passed,faiSafCooPri.ph.ph.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * 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.0003073/0.3349, allocations: 245.7 kB / 1.346 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.837e-05/0.335, allocations: 67.62 kB / 1.346 GB, free: 12.96 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.3352, allocations: 65.39 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.788e-06/0.3352, allocations: 7.984 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3352, allocations: 0 / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.3353, allocations: 59.44 kB / 1.346 GB, free: 12.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3354, allocations: 39.92 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003585/0.3357, allocations: 47.94 kB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/0.336, allocations: 116.4 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00165/0.3376, allocations: 0.8759 MB / 1.347 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00148/0.3391, allocations: 0.9737 MB / 1.348 GB, free: 10.76 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005177/0.3396, allocations: 297 kB / 1.349 GB, free: 10.46 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002957/0.3399, allocations: 271.2 kB / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of Backend: time 4.51e-07/0.3399, allocations: 0 / 1.349 GB, free: 10.2 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.3411, allocations: 0.5148 MB / 1.349 GB, free: 9.66 MB / 1.045 GB Notification: Performance of SimCode: time 0.001824/0.3429, allocations: 1.434 MB / 1.351 GB, free: 8.18 MB / 1.045 GB Notification: Performance of Templates: time 0.01857/0.3615, allocations: 10.83 MB / 1.361 GB, free: 13.52 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_StagingRotation_Validation_FailsafeCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.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.9789239380043]