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.00178/0.00178, allocations: 78.09 kB / 19.76 MB, free: 2.035 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.002076/0.002076, allocations: 156.2 kB / 23.01 MB, free: 4.945 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.927/2.927, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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.002252/0.002252, allocations: 67.89 kB / 1.009 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.878, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.00218/0.8802, allocations: 0.9508 MB / 1.188 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.8821, allocations: 1.591 MB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.8822, allocations: 3.031 kB / 1.189 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.8822, allocations: 14.58 kB / 1.189 GB, free: 14.45 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.8823, allocations: 33.95 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005706/0.8829, allocations: 224.3 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.8832, allocations: 305.7 kB / 1.19 GB, free: 14.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.8833, allocations: 65.44 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.8836, allocations: 133 kB / 1.19 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.8838, allocations: 112.4 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.24e-05/0.8838, allocations: 30.66 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.8839, allocations: 49.39 kB / 1.19 GB, free: 14 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 5.581e-05/0.884, allocations: 56.2 kB / 1.19 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.8841, allocations: 100.5 kB / 1.19 GB, free: 13.9 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003853/0.8845, allocations: 320.9 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8845, allocations: 1.312 kB / 1.19 GB, free: 13.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8845, allocations: 3.938 kB / 1.19 GB, free: 13.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.8845, allocations: 4 kB / 1.19 GB, free: 13.78 MB / 1.076 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.0007645/0.8853, allocations: 470.7 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.8853, allocations: 9.125 kB / 1.191 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.8855, allocations: 32.25 kB / 1.191 GB, free: 13.39 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.8858, allocations: 202.6 kB / 1.191 GB, free: 13.22 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/0.8859, allocations: 26.88 kB / 1.191 GB, free: 13.21 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.8859, allocations: 31.72 kB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.8864, allocations: 223.4 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8864, allocations: 0.5156 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.8864, allocations: 12.28 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.8865, allocations: 8.5 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.8869, allocations: 167 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.8876, allocations: 0.4947 MB / 1.192 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.888, allocations: 161.7 kB / 1.192 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/0.8882, allocations: 83.92 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.8883, allocations: 2.188 kB / 1.192 GB, free: 12.61 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.8887, allocations: 259.8 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of pre-optimization done (n=27): time 1.954e-06/0.8887, allocations: 0 / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of matching and sorting (n=27): time 0.0009864/0.8897, allocations: 432.4 kB / 1.193 GB, free: 12.35 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.8897, allocations: 64.23 kB / 1.193 GB, free: 12.28 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.736e-05/0.8898, allocations: 149.2 kB / 1.193 GB, free: 12.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.8899, allocations: 42.86 kB / 1.193 GB, free: 12.12 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.8899, allocations: 118.7 kB / 1.193 GB, free: 12.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.89, allocations: 74.64 kB / 1.193 GB, free: 11.96 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.8901, allocations: 77.44 kB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.8902, allocations: 329.8 kB / 1.194 GB, free: 11.6 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.8904, allocations: 137.7 kB / 1.194 GB, free: 11.53 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/0.8907, allocations: 176.5 kB / 1.194 GB, free: 11.42 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003231/0.891, allocations: 224.5 kB / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.891, allocations: 0 / 1.194 GB, free: 11.29 MB / 1.076 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006101/0.8916, allocations: 389.3 kB / 1.195 GB, free: 11.09 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.148e-05/0.8916, allocations: 42.36 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.8916, allocations: 1.719 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8916, allocations: 2.062 kB / 1.195 GB, free: 11.05 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.8918, allocations: 29.69 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8918, allocations: 2.953 kB / 1.195 GB, free: 11.04 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.892, allocations: 54.27 kB / 1.195 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.8921, allocations: 12.98 kB / 1.195 GB, free: 11.02 MB / 1.076 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.0001247/0.8922, allocations: 156.6 kB / 1.195 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.8922, allocations: 21.08 kB / 1.195 GB, free: 10.88 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.507e-05/0.8923, allocations: 21.39 kB / 1.195 GB, free: 10.85 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.8923, allocations: 11.78 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.8923, allocations: 0 / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8923, allocations: 2.188 kB / 1.195 GB, free: 10.84 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008561/0.8932, allocations: 0.6126 MB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.8932, allocations: 1.031 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.8932, allocations: 10.3 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-05/0.8933, allocations: 2.062 kB / 1.196 GB, free: 10.47 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.8933, allocations: 16.42 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.8933, allocations: 0.875 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8933, allocations: 5.688 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006783/0.894, allocations: 447.6 kB / 1.196 GB, free: 10.22 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.962e-05/0.894, allocations: 13.95 kB / 1.196 GB, free: 10.21 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/0.894, allocations: 18.42 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.8942, allocations: 17.61 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.8943, allocations: 27.48 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.8943, allocations: 23.56 kB / 1.196 GB, free: 10.19 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.416e-05/0.8944, allocations: 107.5 kB / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8944, allocations: 0 / 1.196 GB, free: 10.11 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003278/0.8947, allocations: 67.48 kB / 1.196 GB, free: 10.09 MB / 1.076 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.0001667/0.8949, allocations: 129.1 kB / 1.196 GB, free: 9.992 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005813/0.8954, allocations: 342.6 kB / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.8954, allocations: 0 / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002666/0.8957, allocations: 122.7 kB / 1.197 GB, free: 9.781 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.896, allocations: 28.55 kB / 1.197 GB, free: 9.766 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006469/0.8967, allocations: 373.8 kB / 1.197 GB, free: 9.527 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.401e-05/0.8968, allocations: 116.6 kB / 1.197 GB, free: 9.445 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.62e-05/0.8968, allocations: 20.95 kB / 1.197 GB, free: 9.441 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.852e-05/0.8969, allocations: 28.05 kB / 1.197 GB, free: 9.43 MB / 1.076 GB Notification: Performance of SimCode: time 4.31e-07/0.8969, allocations: 1.094 kB / 1.197 GB, free: 9.43 MB / 1.076 GB Notification: Performance of Templates: time 0.006942/0.9038, allocations: 2.877 MB / 1.2 GB, free: 9.074 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 8.878798724035732]