Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001873/0.001873, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002157/0.002157, allocations: 210 kB / 22.25 MB, free: 4.855 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.472/3.472, allocations: 0.5107 GB / 0.8158 GB, free: 17.95 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002065/0.002065, allocations: 71.89 kB / 1.186 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.426, allocations: 181.9 MB / 1.364 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002425/0.4285, allocations: 0.9463 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002433/0.4309, allocations: 1.589 MB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.431, allocations: 7.938 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.598e-05/0.4311, allocations: 15.8 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001309/0.4312, allocations: 27.67 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000706/0.4319, allocations: 229.8 kB / 1.367 GB, free: 10.8 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003692/0.4323, allocations: 307.4 kB / 1.367 GB, free: 10.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4324, allocations: 54.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.4328, allocations: 139.7 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.433, allocations: 103.5 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.615e-05/0.433, allocations: 32 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.4331, allocations: 47.98 kB / 1.367 GB, free: 10.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/0.4332, allocations: 51.89 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.4334, allocations: 111.5 kB / 1.367 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.4338, allocations: 322.9 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4338, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4338, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.4338, allocations: 0 / 1.368 GB, free: 9.652 MB / 1.061 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.0009622/0.4348, allocations: 475.4 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.4348, allocations: 8.031 kB / 1.368 GB, free: 9.141 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002139/0.435, allocations: 32.83 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.4354, allocations: 212.2 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.658e-05/0.4355, allocations: 24.62 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.303e-05/0.4355, allocations: 24.38 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.436, allocations: 231.9 kB / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4361, allocations: 0 / 1.369 GB, free: 8.602 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.4362, allocations: 11.98 kB / 1.369 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4362, allocations: 4 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004132/0.4366, allocations: 176.7 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.4376, allocations: 496.1 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004363/0.438, allocations: 150.3 kB / 1.369 GB, free: 7.742 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.4383, allocations: 92.8 kB / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.4383, allocations: 0 / 1.37 GB, free: 7.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005336/0.4389, allocations: 264.9 kB / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.4389, allocations: 0 / 1.37 GB, free: 7.375 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.001093/0.44, allocations: 423.4 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.44, allocations: 63.39 kB / 1.37 GB, free: 6.883 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4402, allocations: 145.8 kB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.328e-05/0.4403, allocations: 49.69 kB / 1.37 GB, free: 6.676 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.4404, allocations: 117 kB / 1.371 GB, free: 6.555 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.4405, allocations: 75.45 kB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4406, allocations: 73.69 kB / 1.371 GB, free: 6.402 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002093/0.4408, allocations: 330.8 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.4411, allocations: 137.7 kB / 1.371 GB, free: 5.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.4414, allocations: 180.3 kB / 1.371 GB, free: 5.734 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.4418, allocations: 221.3 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4418, allocations: 0 / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006499/0.4425, allocations: 390 kB / 1.372 GB, free: 5.105 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.88e-05/0.4425, allocations: 37.64 kB / 1.372 GB, free: 5.062 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4425, allocations: 4 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.4425, allocations: 4.062 kB / 1.372 GB, free: 5.055 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.4427, allocations: 35.92 kB / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4427, allocations: 0 / 1.372 GB, free: 5.02 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4429, allocations: 51.78 kB / 1.372 GB, free: 4.969 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/0.443, allocations: 19.98 kB / 1.372 GB, free: 4.949 MB / 1.061 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.0001789/0.4432, allocations: 157.8 kB / 1.372 GB, free: 4.789 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.4432, allocations: 19.84 kB / 1.372 GB, free: 4.77 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.4433, allocations: 25.95 kB / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.4433, allocations: 0 / 1.372 GB, free: 4.742 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.4433, allocations: 7.938 kB / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4433, allocations: 0 / 1.372 GB, free: 4.734 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00101/0.4443, allocations: 0.6043 MB / 1.373 GB, free: 4.094 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4443, allocations: 8 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.906e-05/0.4443, allocations: 15.92 kB / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.4443, allocations: 0 / 1.373 GB, free: 4.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.4444, allocations: 11.98 kB / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4444, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4444, allocations: 0 / 1.373 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007745/0.4452, allocations: 443.4 kB / 1.373 GB, free: 3.609 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.55e-05/0.4452, allocations: 15.84 kB / 1.373 GB, free: 3.594 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.856e-05/0.4452, allocations: 23.98 kB / 1.373 GB, free: 3.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.4454, allocations: 15.98 kB / 1.373 GB, free: 3.555 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/0.4455, allocations: 35.88 kB / 1.373 GB, free: 3.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.4455, allocations: 19.98 kB / 1.373 GB, free: 3.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000102/0.4456, allocations: 105.7 kB / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4456, allocations: 0 / 1.374 GB, free: 3.398 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003317/0.446, allocations: 67.88 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hol.triSam.y,hol.truHol.u,hol.truHol.y,hol.truHol.not_u,hol.truHol.not_y,hol.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,booPul.y,holTim.triSam.y,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_u,holTim.truHol.not_y,holTim.truHol.entryTimeTrue,holTim.truHol.entryTimeFalse) * Number of discrete states: 12 (holTim.truHol.entryTimeFalse,holTim.truHol.entryTimeTrue,hol.truHol.entryTimeFalse,hol.truHol.entryTimeTrue,holTim.truHol.not_u,hol.truHol.u,hol.truHol.not_u,holTim.truHol.u,holTim.truHol.y,holTim.truHol.not_y,hol.truHol.y,hol.truHol.not_y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.000243/0.4462, allocations: 129 kB / 1.374 GB, free: 3.199 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006908/0.4469, allocations: 337.5 kB / 1.374 GB, free: 2.852 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4469, allocations: 4 kB / 1.374 GB, free: 2.848 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002951/0.4472, allocations: 119.8 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.4475, allocations: 27.86 kB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008221/0.4483, allocations: 385.4 kB / 1.375 GB, free: 2.301 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.4485, allocations: 112.5 kB / 1.375 GB, free: 2.172 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.98e-05/0.4486, allocations: 29.92 kB / 1.375 GB, free: 2.141 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.834e-05/0.4486, allocations: 19.44 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of SimCode: time 3.4e-07/0.4486, allocations: 0 / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of Templates: time 0.007461/0.4561, allocations: 2.989 MB / 1.378 GB, free: 15.17 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_HoldReal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.69423726014793]