Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.001629/0.001629, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001945/0.001945, allocations: 212 kB / 23 MB, free: 4.934 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.175/3.175, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sin.y|booPul.y|hol.y|holTim.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal") [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.002146/0.002146, allocations: 67.83 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3223, allocations: 176.1 MB / 1.327 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002371/0.3246, allocations: 0.9341 MB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002427/0.3271, allocations: 1.595 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.3272, allocations: 11.88 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.3272, allocations: 15.8 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.3273, allocations: 27.73 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.328, allocations: 217.8 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.3283, allocations: 299.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.3285, allocations: 66.73 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002845/0.3288, allocations: 139.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.3289, allocations: 131.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.429e-05/0.329, allocations: 32 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.3291, allocations: 43.98 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.494e-05/0.3292, allocations: 63.83 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.3293, allocations: 99.67 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.3297, allocations: 318.9 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3297, allocations: 3.984 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3297, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.3297, allocations: 0 / 1.331 GB, free: 13.11 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009395/0.3306, allocations: 475.4 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3307, allocations: 8.031 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002066/0.3309, allocations: 40.78 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3312, allocations: 198.2 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.952e-05/0.3313, allocations: 24.64 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.063e-05/0.3313, allocations: 20.38 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.3318, allocations: 224 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.3319, allocations: 4 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.3319, allocations: 15.97 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.3319, allocations: 8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004368/0.3323, allocations: 168.7 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009089/0.3332, allocations: 0.4921 MB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.3337, allocations: 142.5 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.3339, allocations: 100.7 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3339, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005373/0.3345, allocations: 258.5 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.973e-06/0.3345, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.00106/0.3355, allocations: 431.5 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.794e-05/0.3356, allocations: 59.39 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3357, allocations: 144.7 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.3358, allocations: 49.69 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.3359, allocations: 120.9 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.336, allocations: 67.52 kB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3361, allocations: 81.67 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.3362, allocations: 334.8 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/0.3365, allocations: 133.7 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.3368, allocations: 180.9 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.3372, allocations: 217.4 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3372, allocations: 0 / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006707/0.3378, allocations: 390 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.3379, allocations: 45.69 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3379, allocations: 0 / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.3379, allocations: 4 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.3381, allocations: 31.92 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.3381, allocations: 11.88 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.3384, allocations: 47.8 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.3384, allocations: 16 kB / 1.335 GB, free: 8.406 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 ($whenCondition5,$whenCondition6,holTim.truHol.entryTimeFalse,$PRE.holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,$PRE.holTim.truHol.entryTimeTrue,holTim.truHol.not_y,$PRE.holTim.truHol.not_y,holTim.truHol.not_u,$PRE.holTim.truHol.not_u,holTim.truHol.y,$PRE.holTim.truHol.y,holTim.truHol.u,$PRE.holTim.truHol.u,holTim.triSam.y,$PRE.holTim.triSam.y,booPul.y,$PRE.booPul.y,hol.truHol.entryTimeFalse,$PRE.hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,$PRE.hol.truHol.entryTimeTrue,hol.truHol.not_y,$PRE.hol.truHol.not_y,hol.truHol.not_u,$PRE.hol.truHol.not_u,hol.truHol.y,$PRE.hol.truHol.y,hol.truHol.u,$PRE.hol.truHol.u,hol.triSam.y,$PRE.hol.triSam.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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.0001784/0.3386, allocations: 158.3 kB / 1.335 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.3386, allocations: 23.83 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.371e-05/0.3387, allocations: 25.95 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3387, allocations: 0 / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3387, allocations: 0 / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.3387, allocations: 19.84 kB / 1.336 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.3388, allocations: 19.98 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3389, allocations: 15.98 kB / 1.336 GB, free: 8.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.339, allocations: 31.95 kB / 1.336 GB, free: 8.105 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007855/0.3398, allocations: 412.8 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007928/0.3406, allocations: 0.5074 MB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002633/0.3408, allocations: 108.1 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.3409, allocations: 108.6 kB / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of Backend: time 3.11e-07/0.3409, allocations: 0 / 1.337 GB, free: 6.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007763/0.3417, allocations: 338.3 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of SimCode: time 0.0007945/0.3425, allocations: 0.7437 MB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of Templates: time 0.007461/0.3499, allocations: 3.466 MB / 1.341 GB, free: 2.387 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.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.720316355997056]