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.001421/0.001421, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001652/0.001652, allocations: 211.2 kB / 22.99 MB, free: 4.984 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.253/3.253, allocations: 0.49 GB / 0.7959 GB, free: 35.37 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.002076/0.002076, allocations: 65.66 kB / 1.155 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4098/0.4119, allocations: 176.1 MB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002696/0.4146, allocations: 0.9418 MB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002736/0.4173, allocations: 1.591 MB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.4175, allocations: 7.938 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.687e-05/0.4175, allocations: 15.8 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.4177, allocations: 31.72 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007542/0.4184, allocations: 219.4 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.4188, allocations: 303.5 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001906/0.419, allocations: 72.39 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003315/0.4193, allocations: 147.6 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.4195, allocations: 119.5 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.4196, allocations: 32 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.4197, allocations: 47.98 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.4197, allocations: 55.88 kB / 1.331 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.4199, allocations: 99.62 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004031/0.4203, allocations: 322.9 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4203, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.883e-06/0.4203, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.4203, 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.0009816/0.4213, allocations: 479.4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4213, allocations: 8.031 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.4215, allocations: 36.78 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.422, allocations: 210.1 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.422, allocations: 16.66 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.4221, allocations: 32.36 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005048/0.4226, allocations: 220 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4226, allocations: 0 / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.4226, allocations: 11.98 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-06/0.4226, allocations: 4 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.423, allocations: 172.6 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009398/0.424, allocations: 0.4961 MB / 1.333 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.4244, allocations: 150.5 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002426/0.4247, allocations: 88.75 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.4247, allocations: 0 / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005439/0.4252, allocations: 262.6 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.653e-06/0.4252, allocations: 0 / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001063/0.4263, allocations: 427.4 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.4263, allocations: 59.41 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.4265, allocations: 151.1 kB / 1.334 GB, free: 10.19 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.4266, allocations: 45.7 kB / 1.334 GB, free: 10.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4267, allocations: 124.9 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.039e-05/0.4268, allocations: 71.5 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.4269, allocations: 73.69 kB / 1.334 GB, free: 9.863 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.4271, allocations: 330.8 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002652/0.4273, allocations: 141.6 kB / 1.334 GB, free: 9.387 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.4276, allocations: 181 kB / 1.335 GB, free: 9.191 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.428, allocations: 225.3 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.428, allocations: 0 / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006654/0.4287, allocations: 390 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.878e-05/0.4287, allocations: 37.64 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4287, allocations: 4 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4288, allocations: 0 / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.4289, allocations: 35.91 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.4289, allocations: 0 / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.4292, allocations: 55.88 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/0.4292, allocations: 19.98 kB / 1.335 GB, free: 8.402 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.0001829/0.4294, allocations: 150.3 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.4294, allocations: 23.83 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.705e-05/0.4295, allocations: 21.97 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.4295, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.4295, allocations: 8 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.4295, allocations: 0 / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009869/0.4305, allocations: 0.6033 MB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.4305, allocations: 0 / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.323e-05/0.4306, allocations: 19.86 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4306, allocations: 3.984 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.4306, allocations: 11.98 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4306, allocations: 0 / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4306, allocations: 4 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007414/0.4314, allocations: 448.3 kB / 1.337 GB, free: 7.059 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.066e-05/0.4314, allocations: 11.91 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.947e-05/0.4314, allocations: 16 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.4316, allocations: 19.97 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.807e-05/0.4317, allocations: 27.95 kB / 1.337 GB, free: 6.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4e-05/0.4317, allocations: 19.98 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.353e-05/0.4318, allocations: 116.7 kB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4318, allocations: 0 / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003317/0.4321, allocations: 59.94 kB / 1.337 GB, free: 6.793 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.0002205/0.4323, allocations: 129 kB / 1.337 GB, free: 6.656 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006802/0.433, allocations: 349.7 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.433, allocations: 4.125 kB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/0.4333, allocations: 119.9 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.4337, allocations: 37.55 kB / 1.337 GB, free: 6.141 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007948/0.4345, allocations: 365.4 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001255/0.4346, allocations: 120.5 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.471e-05/0.4347, allocations: 17.95 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.4348, allocations: 31.36 kB / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.4348, allocations: 0 / 1.338 GB, free: 5.566 MB / 1.029 GB Notification: Performance of Templates: time 0.007332/0.4421, allocations: 3.019 MB / 1.341 GB, free: 2.578 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 cvode -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.236912573993322]