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.001566/0.001566, allocations: 113.3 kB / 17.13 MB, free: 5.926 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.001704/0.001704, allocations: 204 kB / 20.09 MB, free: 2.977 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.45/1.45, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.923/2.923, allocations: 0.49 GB / 0.7923 GB, free: 1.332 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.002078/0.002078, allocations: 75.89 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8957, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001884/0.8976, allocations: 0.9942 MB / 1.323 GB, free: 24.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001622/0.8992, allocations: 1.653 MB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.17e-05/0.8993, allocations: 6.75 kB / 1.325 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.8993, allocations: 11.81 kB / 1.325 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.8994, allocations: 29.52 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004984/0.8999, allocations: 220 kB / 1.325 GB, free: 23.02 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.9001, allocations: 306.2 kB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.9003, allocations: 60.69 kB / 1.325 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002219/0.9005, allocations: 146.7 kB / 1.325 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.9006, allocations: 116 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.9007, allocations: 32.41 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.072e-05/0.9007, allocations: 48.69 kB / 1.325 GB, free: 22.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.9008, allocations: 61.28 kB / 1.326 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.42e-05/0.9009, allocations: 116 kB / 1.326 GB, free: 22.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.9011, allocations: 324.4 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.9011, allocations: 2.812 kB / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9011, allocations: 0 / 1.326 GB, free: 22.49 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.9012, allocations: 4 kB / 1.326 GB, free: 22.48 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.0007556/0.9019, allocations: 0.5287 MB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.9019, allocations: 11.52 kB / 1.326 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.9021, allocations: 38.48 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.9024, allocations: 274 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.768e-05/0.9024, allocations: 23.64 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.036e-05/0.9025, allocations: 23.66 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.9029, allocations: 222.5 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.9029, allocations: 3.938 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.9029, allocations: 16.11 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.903, allocations: 2.562 kB / 1.327 GB, free: 21.64 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.9034, allocations: 167.3 kB / 1.327 GB, free: 21.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008246/0.9042, allocations: 0.6382 MB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.9046, allocations: 145 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.9048, allocations: 87.47 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.9049, allocations: 3.531 kB / 1.328 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005125/0.9054, allocations: 258.1 kB / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.9054, allocations: 0 / 1.328 GB, free: 20.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=27): time 0.001069/0.9065, allocations: 421.5 kB / 1.329 GB, free: 20.81 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.9065, allocations: 64.52 kB / 1.329 GB, free: 20.74 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.9066, allocations: 152.3 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.821e-05/0.9067, allocations: 47.59 kB / 1.329 GB, free: 20.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.9067, allocations: 119.4 kB / 1.329 GB, free: 20.47 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.569e-05/0.9068, allocations: 66.39 kB / 1.329 GB, free: 20.42 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.907, allocations: 77.77 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/0.907, allocations: 329.4 kB / 1.33 GB, free: 20.06 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002714/0.9073, allocations: 104.6 kB / 1.33 GB, free: 20.03 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.9076, allocations: 144.7 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003958/0.908, allocations: 227.7 kB / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.908, allocations: 0 / 1.33 GB, free: 19.82 MB / 1.061 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006793/0.9087, allocations: 364.6 kB / 1.33 GB, free: 19.64 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.022e-05/0.9087, allocations: 35.05 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.9087, allocations: 1.344 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.9087, allocations: 2.219 kB / 1.33 GB, free: 19.61 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.9089, allocations: 39.12 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.9089, allocations: 2.312 kB / 1.33 GB, free: 19.6 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.9092, allocations: 49.94 kB / 1.33 GB, free: 19.58 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.9092, allocations: 15.55 kB / 1.33 GB, free: 19.58 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.0001604/0.9094, allocations: 156.6 kB / 1.331 GB, free: 19.44 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.9094, allocations: 25.55 kB / 1.331 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.9095, allocations: 25.31 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.9095, allocations: 3.859 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.9095, allocations: 0 / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.9095, allocations: 2.594 kB / 1.331 GB, free: 19.4 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009606/0.9104, allocations: 0.6968 MB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9104, allocations: 4 kB / 1.331 GB, free: 18.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.06e-05/0.9105, allocations: 19.06 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.9105, allocations: 1.125 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.884e-05/0.9105, allocations: 9.297 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.9105, allocations: 1.859 kB / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.9105, allocations: 0 / 1.331 GB, free: 18.94 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.9112, allocations: 434.8 kB / 1.332 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.9113, allocations: 94.39 kB / 1.332 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.9113, allocations: 21.31 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.9115, allocations: 14.03 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.419e-05/0.9115, allocations: 26.05 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.08e-05/0.9116, allocations: 21.11 kB / 1.332 GB, free: 18.58 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.905e-05/0.9116, allocations: 104 kB / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9116, allocations: 0 / 1.332 GB, free: 18.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003236/0.912, allocations: 63.8 kB / 1.332 GB, free: 18.49 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.0001785/0.9121, allocations: 134.4 kB / 1.332 GB, free: 18.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006444/0.9128, allocations: 313.8 kB / 1.333 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9128, allocations: 0 / 1.333 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.9131, allocations: 126.3 kB / 1.333 GB, free: 18.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.9134, allocations: 32.34 kB / 1.333 GB, free: 18.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.9141, allocations: 397.5 kB / 1.333 GB, free: 17.92 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.9143, allocations: 0.7264 MB / 1.334 GB, free: 17.22 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.012e-05/0.9143, allocations: 27.73 kB / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of SimCode: time 4.01e-07/0.9143, allocations: 0 / 1.334 GB, free: 17.21 MB / 1.061 GB Notification: Performance of Templates: time 0.006063/0.9204, allocations: 2.8 MB / 1.337 GB, free: 16.92 MB / 1.061 GB " [Timeout remaining time 299] 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/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: 11.310244657986914]