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.0008215/0.0008215, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008079/0.0008079, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8744/0.8744, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.275e-05/2.479e-05, allocations: 6.219 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001435/0.00146, allocations: 0.9316 MB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001532/0.002991, allocations: 1.602 MB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.863e-05/0.00307, allocations: 7.938 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 4.023e-05/0.00311, allocations: 15.8 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.274e-05/0.003203, allocations: 23.73 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004554/0.003658, allocations: 234.9 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002291/0.003888, allocations: 307.4 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.004008, allocations: 46.94 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.004274, allocations: 195.6 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004386, allocations: 103.7 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.004417, allocations: 28 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.504e-05/0.004482, allocations: 44 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.624e-05/0.004529, allocations: 63.8 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0003589/0.004887, allocations: 87.86 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.005169, allocations: 366.9 kB / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005171, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.005172, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.005177, allocations: 0 / 1.005 GB, free: 8.953 MB / 0.9636 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.0006309/0.005808, allocations: 479.4 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.005842, allocations: 9.344 kB / 1.005 GB, free: 8.438 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.005971, allocations: 32.83 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.006216, allocations: 207.5 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.006247, allocations: 20.66 kB / 1.006 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.006277, allocations: 20.38 kB / 1.006 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.006571, allocations: 220.3 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006581, allocations: 192 / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.006601, allocations: 16.36 kB / 1.006 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.006608, allocations: 7.938 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002362/0.006844, allocations: 172.6 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.007411, allocations: 0.4883 MB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.007654, allocations: 150.4 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.007782, allocations: 88.81 kB / 1.007 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.007803, allocations: 4 kB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002873/0.00809, allocations: 264.9 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=27): time 1.232e-06/0.008091, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of matching and sorting (n=27): time 0.0005754/0.008667, allocations: 435.4 kB / 1.007 GB, free: 6.258 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.008702, allocations: 59.39 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.008789, allocations: 149.7 kB / 1.008 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.00882, allocations: 45.7 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.00888, allocations: 117 kB / 1.008 GB, free: 5.859 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.008924, allocations: 71.52 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.009002, allocations: 73.69 kB / 1.008 GB, free: 5.711 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.009085, allocations: 334.8 kB / 1.008 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.009235, allocations: 137.6 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.009393, allocations: 176.3 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.009608, allocations: 221.5 kB / 1.009 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.00961, allocations: 3.938 kB / 1.009 GB, free: 4.809 MB / 0.9636 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003784/0.009988, allocations: 394 kB / 1.009 GB, free: 4.406 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.01002, allocations: 35.58 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01002, allocations: 0 / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.01004, allocations: 7.938 kB / 1.009 GB, free: 4.359 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.372e-05/0.01012, allocations: 43.91 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01013, allocations: 4 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.01023, allocations: 43.8 kB / 1.009 GB, free: 4.27 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.01026, allocations: 19.98 kB / 1.009 GB, free: 4.25 MB / 0.9636 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 9.856e-05/0.01035, allocations: 149.8 kB / 1.009 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.01037, allocations: 23.89 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.265e-05/0.01041, allocations: 21.97 kB / 1.009 GB, free: 4.051 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.01041, allocations: 7.938 kB / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01042, allocations: 0 / 1.009 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01042, allocations: 3.984 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.01095, allocations: 0.6004 MB / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01095, allocations: 0 / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.01098, allocations: 15.98 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01098, allocations: 4 kB / 1.01 GB, free: 3.383 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.011, allocations: 11.92 kB / 1.01 GB, free: 3.371 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.011, allocations: 4 kB / 1.01 GB, free: 3.367 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.01101, allocations: 3.938 kB / 1.01 GB, free: 3.363 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00039/0.0114, allocations: 435.5 kB / 1.01 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.01141, allocations: 23.83 kB / 1.01 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.623e-05/0.01145, allocations: 19.94 kB / 1.01 GB, free: 2.879 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.542e-05/0.01151, allocations: 19.98 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.01157, allocations: 27.94 kB / 1.01 GB, free: 2.832 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.01159, allocations: 23.98 kB / 1.011 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.755e-05/0.01164, allocations: 105.3 kB / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.01164, allocations: 0 / 1.011 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001992/0.01184, allocations: 67.88 kB / 1.011 GB, free: 2.641 MB / 0.9636 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.0001367/0.01198, allocations: 133.5 kB / 1.011 GB, free: 2.504 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003864/0.01236, allocations: 341.5 kB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01237, allocations: 3.938 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.01252, allocations: 123.8 kB / 1.011 GB, free: 2.027 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.01272, allocations: 23.92 kB / 1.011 GB, free: 2.004 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.01349, allocations: 392.6 kB / 1.012 GB, free: 1.586 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.286e-05/0.01356, allocations: 112.6 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.557e-05/0.01361, allocations: 20.5 kB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of SimCode: time 3.01e-07/0.01361, allocations: 4 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of Templates: time 0.003085/0.0167, allocations: 2.851 MB / 1.015 GB, free: 14.58 MB / 0.9792 GB " [Timeout remaining time 300] 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 -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/jenkins/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: 6.593818536028266]