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.001313/0.001313, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001446/0.001446, allocations: 206.9 kB / 22.99 MB, free: 4.957 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.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.196/3.196, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.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.00205/0.00205, allocations: 67.33 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.398, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002554/0.4005, allocations: 0.9496 MB / 1.328 GB, free: 24 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002593/0.4031, allocations: 1.599 MB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.4032, allocations: 7.938 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.4033, allocations: 11.81 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4034, allocations: 27.72 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006806/0.4041, allocations: 221.2 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.4045, allocations: 303.5 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.4046, allocations: 66.73 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003179/0.405, allocations: 139.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.4051, allocations: 127.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.4052, allocations: 32 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.4053, allocations: 47.98 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.612e-05/0.4054, allocations: 55.83 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.4055, allocations: 95.69 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004237/0.4059, allocations: 322.9 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4059, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4059, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.4059, allocations: 0 / 1.331 GB, free: 12.98 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.0009908/0.4069, allocations: 483.4 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.407, allocations: 8.031 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.4072, allocations: 36.78 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4076, allocations: 210.2 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.4076, allocations: 20.64 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.032e-05/0.4077, allocations: 24.38 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005065/0.4082, allocations: 220 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4082, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.4083, allocations: 11.98 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.4083, allocations: 7.938 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.4087, allocations: 172.7 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009686/0.4097, allocations: 0.496 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004276/0.4101, allocations: 142.5 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/0.4103, allocations: 88.8 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.4104, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005353/0.4109, allocations: 265.6 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.4109, allocations: 0 / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001071/0.412, allocations: 424.2 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.412, allocations: 59.41 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4122, allocations: 151.5 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.4122, allocations: 49.69 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4124, allocations: 120.9 kB / 1.334 GB, free: 9.879 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.118e-05/0.4124, allocations: 67.52 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.4126, allocations: 77.67 kB / 1.334 GB, free: 9.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4128, allocations: 330.8 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/0.4131, allocations: 133.7 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003017/0.4134, allocations: 184.9 kB / 1.335 GB, free: 9.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/0.4137, allocations: 217.4 kB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4137, allocations: 0 / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006737/0.4144, allocations: 390 kB / 1.335 GB, free: 8.438 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.884e-05/0.4145, allocations: 41.62 kB / 1.335 GB, free: 8.391 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.4145, allocations: 4 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4145, allocations: 0 / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.4146, allocations: 43.84 kB / 1.335 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4147, allocations: 4.062 kB / 1.335 GB, free: 8.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002479/0.4149, allocations: 55.73 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4149, allocations: 16 kB / 1.335 GB, free: 8.27 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.0002214/0.4152, allocations: 154.3 kB / 1.335 GB, free: 8.109 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.4152, allocations: 19.84 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.4153, allocations: 29.95 kB / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.4153, allocations: 0 / 1.336 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4153, allocations: 4 kB / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4153, allocations: 0 / 1.336 GB, free: 8.055 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4163, allocations: 0.6033 MB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4163, allocations: 4 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.036e-05/0.4164, allocations: 8 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4164, allocations: 4 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.4164, allocations: 15.97 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4164, allocations: 3.938 kB / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4164, allocations: 0 / 1.336 GB, free: 7.379 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007956/0.4172, allocations: 448.3 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.155e-05/0.4172, allocations: 11.91 kB / 1.337 GB, free: 6.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.4173, allocations: 19.98 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.4174, allocations: 15.98 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.4175, allocations: 31.95 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/0.4176, allocations: 23.97 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.512e-05/0.4176, allocations: 104.6 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4176, allocations: 0 / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003296/0.418, allocations: 63.92 kB / 1.337 GB, free: 6.66 MB / 1.029 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.0002148/0.4182, allocations: 136.9 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006721/0.4189, allocations: 341.6 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4189, allocations: 0 / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003161/0.4192, allocations: 128 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.4195, allocations: 27.92 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008352/0.4203, allocations: 375.4 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.4205, allocations: 116.6 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.072e-05/0.4206, allocations: 21.94 kB / 1.338 GB, free: 5.461 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.4207, allocations: 19.44 kB / 1.338 GB, free: 5.441 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4207, allocations: 7.938 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of Templates: time 0.007533/0.4282, allocations: 3.022 MB / 1.341 GB, free: 2.441 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 -s gbode -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: 9.082801006006775]