Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 102.7 kB / 18.05 MB, free: 4.289 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001879/0.001879, allocations: 192.4 kB / 21.17 MB, free: 1.18 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 225.6 MB / 249.7 MB, free: 3.387 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 489.7 MB / 0.7759 GB, free: 2.551 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=568,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_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") translateModel(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=568,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_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.89 kB / 1.126 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8978/0.8998, allocations: 172.1 MB / 1.294 GB, free: 5.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition): time 0.005243/0.905, allocations: 2.742 MB / 1.297 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003777/0.9088, allocations: 2.014 MB / 1.299 GB, free: 2.18 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.9094, allocations: 26.94 kB / 1.299 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003985/0.9098, allocations: 139.6 kB / 1.299 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003069/0.9101, allocations: 125.8 kB / 1.299 GB, free: 1.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.9113, allocations: 477.2 kB / 1.3 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001228/0.9125, allocations: 1.051 MB / 1.301 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005384/0.913, allocations: 304.4 kB / 1.301 GB, free: 0.9453 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.9136, allocations: 375.3 kB / 1.302 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004713/0.9141, allocations: 383.2 kB / 1.302 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.9142, allocations: 104 kB / 1.302 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.9144, allocations: 121.6 kB / 1.302 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.9146, allocations: 209.8 kB / 1.302 GB, free: 400 kB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004028/0.915, allocations: 412.8 kB / 1.303 GB, free: 108 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.9164, allocations: 1.152 MB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9165, allocations: 4 kB / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.483e-06/0.9165, allocations: 0 / 1.304 GB, free: 15.65 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.707e-05/0.9165, allocations: 0 / 1.304 GB, free: 15.65 MB / 1.014 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.002425/0.9189, allocations: 1.15 MB / 1.305 GB, free: 14.86 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.9189, allocations: 8.906 kB / 1.305 GB, free: 14.86 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.9191, allocations: 94.95 kB / 1.305 GB, free: 14.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.9204, allocations: 0.6582 MB / 1.306 GB, free: 14.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.9205, allocations: 56.88 kB / 1.306 GB, free: 14.37 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.9206, allocations: 75.7 kB / 1.306 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/0.9218, allocations: 0.6007 MB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.9219, allocations: 4.844 kB / 1.306 GB, free: 14.11 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.042e-05/0.9219, allocations: 27.72 kB / 1.306 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.9219, allocations: 17.56 kB / 1.306 GB, free: 14.09 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009418/0.9229, allocations: 456.7 kB / 1.307 GB, free: 13.94 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003162/0.926, allocations: 1.663 MB / 1.309 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.9271, allocations: 0.5106 MB / 1.309 GB, free: 12.82 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004438/0.9275, allocations: 228 kB / 1.309 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.9276, allocations: 5.312 kB / 1.309 GB, free: 12.73 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009376/0.9285, allocations: 0.5235 MB / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/0.9285, allocations: 0 / 1.31 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=68): time 0.001941/0.9304, allocations: 0.9879 MB / 1.311 GB, free: 12.19 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.9305, allocations: 69.17 kB / 1.311 GB, free: 12.12 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006117/0.9311, allocations: 454.9 kB / 1.311 GB, free: 11.89 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.9312, allocations: 60.66 kB / 1.311 GB, free: 11.84 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.9315, allocations: 306.7 kB / 1.312 GB, free: 11.6 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.9317, allocations: 178 kB / 1.312 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002605/0.9319, allocations: 157.4 kB / 1.312 GB, free: 11.39 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002178/0.9322, allocations: 372.8 kB / 1.312 GB, free: 11.05 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005125/0.9327, allocations: 226.9 kB / 1.312 GB, free: 10.97 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005941/0.9333, allocations: 326.1 kB / 1.313 GB, free: 10.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008612/0.9341, allocations: 464.6 kB / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9341, allocations: 0 / 1.313 GB, free: 10.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001436/0.9356, allocations: 0.6868 MB / 1.314 GB, free: 10.23 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.9356, allocations: 37.06 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.9356, allocations: 1.125 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.9357, allocations: 9.812 kB / 1.314 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003427/0.936, allocations: 81.03 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.936, allocations: 9 kB / 1.314 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000554/0.9366, allocations: 92.5 kB / 1.314 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.154e-05/0.9366, allocations: 29.84 kB / 1.314 GB, free: 10.14 MB / 1.014 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.000428/0.9371, allocations: 251.3 kB / 1.314 GB, free: 9.941 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.9372, allocations: 71.81 kB / 1.314 GB, free: 9.906 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.9373, allocations: 67.28 kB / 1.314 GB, free: 9.848 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.9373, allocations: 9.016 kB / 1.315 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.9373, allocations: 0 / 1.315 GB, free: 9.84 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.9375, allocations: 132.7 kB / 1.315 GB, free: 9.707 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.9376, allocations: 37.17 kB / 1.315 GB, free: 9.684 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.9379, allocations: 50 kB / 1.315 GB, free: 9.656 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002429/0.9382, allocations: 106.2 kB / 1.315 GB, free: 9.594 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001686/0.9398, allocations: 0.8549 MB / 1.316 GB, free: 9.133 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00149/0.9413, allocations: 0.9517 MB / 1.317 GB, free: 8.566 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005508/0.9419, allocations: 287.9 kB / 1.317 GB, free: 8.414 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003675/0.9423, allocations: 295.7 kB / 1.317 GB, free: 8.23 MB / 1.014 GB Notification: Performance of Backend: time 5.51e-07/0.9423, allocations: 3.938 kB / 1.317 GB, free: 8.227 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001301/0.9436, allocations: 497.4 kB / 1.318 GB, free: 7.934 MB / 1.014 GB Notification: Performance of SimCode: time 0.002026/0.9456, allocations: 1.446 MB / 1.319 GB, free: 6.832 MB / 1.014 GB Notification: Performance of Templates: time 0.0211/0.9667, allocations: 9.645 MB / 1.328 GB, free: 2.098 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.StagingRotation.Validation.FailsafeCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_StagingRotation_Validation_FailsafeCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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