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.001535/0.001535, allocations: 111.5 kB / 16.46 MB, free: 6.453 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.001509/0.001509, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.594/1.594, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.269/3.269, allocations: 0.4899 GB / 0.7915 GB, free: 33.54 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.002132/0.002132, allocations: 71.58 kB / 1.149 GB, free: 26.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4085, allocations: 176.1 MB / 1.321 GB, free: 2.848 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002602/0.4111, allocations: 0.996 MB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002449/0.4135, allocations: 1.646 MB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.4136, allocations: 3.938 kB / 1.324 GB, free: 188 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.889e-05/0.4137, allocations: 11.81 kB / 1.324 GB, free: 176 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.4138, allocations: 31.72 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.4144, allocations: 218.9 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.4148, allocations: 307.5 kB / 1.324 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.415, allocations: 62.45 kB / 1.324 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.4153, allocations: 143.6 kB / 1.325 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.4154, allocations: 119.6 kB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.994e-05/0.4155, allocations: 36 kB / 1.325 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.977e-05/0.4156, allocations: 51.92 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.4157, allocations: 55.83 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001317/0.4158, allocations: 115.5 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.4162, allocations: 315 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4162, allocations: 4 kB / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4162, allocations: 0 / 1.325 GB, free: 14.74 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4162, allocations: 3.938 kB / 1.325 GB, free: 14.74 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.0009887/0.4172, allocations: 0.5413 MB / 1.326 GB, free: 14.14 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.4172, allocations: 11.98 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002064/0.4175, allocations: 36.78 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003999/0.4179, allocations: 264 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.4179, allocations: 20.66 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/0.418, allocations: 28.36 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005053/0.4185, allocations: 224.1 kB / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.4185, allocations: 0 / 1.326 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4185, allocations: 15.97 kB / 1.326 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.4185, allocations: 7.938 kB / 1.326 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004251/0.4189, allocations: 172.7 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.42, allocations: 0.6252 MB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.4204, allocations: 150.3 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002406/0.4206, allocations: 84.81 kB / 1.327 GB, free: 12.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.64e-05/0.4207, allocations: 3.984 kB / 1.327 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005128/0.4212, allocations: 257.7 kB / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 1.523e-06/0.4212, allocations: 0 / 1.328 GB, free: 12.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.001021/0.4222, allocations: 435.4 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.4222, allocations: 59.34 kB / 1.328 GB, free: 11.65 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4224, allocations: 151.4 kB / 1.328 GB, free: 11.49 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.539e-05/0.4224, allocations: 45.7 kB / 1.328 GB, free: 11.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.254e-05/0.4225, allocations: 121 kB / 1.328 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.589e-05/0.4226, allocations: 63.58 kB / 1.328 GB, free: 11.26 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/0.4227, allocations: 77.67 kB / 1.328 GB, free: 11.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4229, allocations: 334.8 kB / 1.329 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.4232, allocations: 107.9 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/0.4234, allocations: 146.6 kB / 1.329 GB, free: 10.58 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/0.4238, allocations: 221.3 kB / 1.329 GB, free: 10.35 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4238, allocations: 4 kB / 1.329 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006549/0.4245, allocations: 360.2 kB / 1.33 GB, free: 9.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.4245, allocations: 39.72 kB / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.4245, allocations: 0 / 1.33 GB, free: 9.938 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4245, allocations: 4 kB / 1.33 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4247, allocations: 31.92 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4247, allocations: 4 kB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.425, allocations: 59.8 kB / 1.33 GB, free: 9.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.699e-05/0.425, allocations: 16 kB / 1.33 GB, free: 9.824 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.0001688/0.4252, allocations: 153.8 kB / 1.33 GB, free: 9.668 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4252, allocations: 19.84 kB / 1.33 GB, free: 9.648 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.4253, allocations: 17.88 kB / 1.33 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.4253, allocations: 15.92 kB / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.4253, allocations: 0 / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4253, allocations: 0 / 1.33 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.4263, allocations: 0.6973 MB / 1.331 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4263, allocations: 3.938 kB / 1.331 GB, free: 8.852 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.027e-05/0.4264, allocations: 11.98 kB / 1.331 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.4264, allocations: 0 / 1.331 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.707e-05/0.4264, allocations: 19.98 kB / 1.331 GB, free: 8.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.4264, allocations: 4 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4264, allocations: 0 / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007411/0.4272, allocations: 432.3 kB / 1.331 GB, free: 8.379 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/0.4272, allocations: 93 kB / 1.331 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.265e-05/0.4273, allocations: 12 kB / 1.331 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.4275, allocations: 27.97 kB / 1.331 GB, free: 8.23 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4276, allocations: 23.97 kB / 1.331 GB, free: 8.207 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4276, allocations: 15.98 kB / 1.331 GB, free: 8.191 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.384e-05/0.4277, allocations: 109 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4277, allocations: 0 / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003212/0.428, allocations: 63.94 kB / 1.331 GB, free: 8.023 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.0002353/0.4282, allocations: 137.2 kB / 1.332 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006418/0.4289, allocations: 320 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4289, allocations: 0 / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002877/0.4292, allocations: 119.8 kB / 1.332 GB, free: 7.438 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.4295, allocations: 24.05 kB / 1.332 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007834/0.4303, allocations: 384.9 kB / 1.332 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4306, allocations: 0.7207 MB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.014e-05/0.4307, allocations: 29.94 kB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/0.4308, allocations: 23.42 kB / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4308, allocations: 0 / 1.333 GB, free: 6.207 MB / 1.029 GB Notification: Performance of Templates: time 0.007204/0.438, allocations: 2.789 MB / 1.336 GB, free: 3.43 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/jenkins/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.346604301128536]