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.001982/0.001982, allocations: 78.41 kB / 19.18 MB, free: 2.531 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.002065/0.002065, allocations: 169.3 kB / 22.46 MB, free: 5.363 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.501/1.501, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.936/2.936, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] 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 3.506e-06/3.506e-06, allocations: 0 / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.133e-05/4.483e-05, allocations: 10.22 kB / 1 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.003215/0.00326, allocations: 0.9329 MB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003177/0.006438, allocations: 1.603 MB / 1.003 GB, free: 4.754 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.006615, allocations: 3.938 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 5.867e-05/0.006674, allocations: 15.8 kB / 1.003 GB, free: 4.734 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.006832, allocations: 27.72 kB / 1.003 GB, free: 4.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008522/0.007684, allocations: 226.6 kB / 1.003 GB, free: 4.488 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005111/0.008196, allocations: 307.4 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.008389, allocations: 50.92 kB / 1.003 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005811/0.00897, allocations: 203.6 kB / 1.003 GB, free: 3.938 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.009237, allocations: 99.72 kB / 1.003 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.009319, allocations: 32 kB / 1.004 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.009454, allocations: 47.92 kB / 1.004 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 9.411e-05/0.009548, allocations: 59.81 kB / 1.004 GB, free: 3.703 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.00973, allocations: 83.86 kB / 1.004 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.01038, allocations: 355 kB / 1.004 GB, free: 3.273 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.01038, allocations: 3.938 kB / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.81e-07/0.01038, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.0104, allocations: 0 / 1.004 GB, free: 3.27 MB / 0.9512 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.001321/0.01172, allocations: 479.4 kB / 1.005 GB, free: 2.762 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.01176, allocations: 8.031 kB / 1.005 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002494/0.01201, allocations: 32.83 kB / 1.005 GB, free: 2.723 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004951/0.01251, allocations: 205.4 kB / 1.005 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.01256, allocations: 24.64 kB / 1.005 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.307e-05/0.01262, allocations: 20.38 kB / 1.005 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005624/0.01318, allocations: 224.2 kB / 1.005 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.01319, allocations: 4.188 kB / 1.005 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.01324, allocations: 20.33 kB / 1.005 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.01325, allocations: 7.938 kB / 1.005 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005209/0.01377, allocations: 168.6 kB / 1.005 GB, free: 2.035 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.01487, allocations: 0.4884 MB / 1.006 GB, free: 1.516 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004891/0.01536, allocations: 142.5 kB / 1.006 GB, free: 1.367 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002599/0.01562, allocations: 85.12 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.01566, allocations: 11.91 kB / 1.006 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005765/0.01624, allocations: 260.9 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=27): time 2.044e-06/0.01624, allocations: 0 / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of matching and sorting (n=27): time 0.001122/0.01736, allocations: 427.4 kB / 1.007 GB, free: 0.5781 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.01746, allocations: 55.41 kB / 1.007 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01763, allocations: 151.1 kB / 1.007 GB, free: 364 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.808e-05/0.0177, allocations: 45.7 kB / 1.007 GB, free: 312 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.01783, allocations: 129 kB / 1.007 GB, free: 180 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.762e-05/0.0179, allocations: 67.47 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.01806, allocations: 81.67 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.01826, allocations: 334.8 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003107/0.01857, allocations: 137.6 kB / 1.008 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003265/0.0189, allocations: 176.3 kB / 1.008 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004266/0.01933, allocations: 209.5 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.01933, allocations: 8 kB / 1.008 GB, free: 15.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007815/0.02011, allocations: 393.9 kB / 1.008 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.934e-05/0.02016, allocations: 37.69 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.02017, allocations: 0 / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/0.02019, allocations: 11.88 kB / 1.008 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.02037, allocations: 35.92 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.02038, allocations: 4 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.02065, allocations: 47.91 kB / 1.008 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.02069, allocations: 16 kB / 1.008 GB, free: 14.57 MB / 0.9669 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.0002098/0.0209, allocations: 158.3 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.02094, allocations: 15.91 kB / 1.009 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.517e-05/0.021, allocations: 21.97 kB / 1.009 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.02101, allocations: 7.938 kB / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.02102, allocations: 0 / 1.009 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.02103, allocations: 7.984 kB / 1.009 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.02215, allocations: 0.6043 MB / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.02215, allocations: 0 / 1.009 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.984e-05/0.02223, allocations: 19.92 kB / 1.009 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.02224, allocations: 0 / 1.009 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.385e-05/0.02227, allocations: 11.92 kB / 1.009 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.02228, allocations: 7.984 kB / 1.009 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02228, allocations: 3.938 kB / 1.009 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000878/0.02316, allocations: 439.3 kB / 1.01 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.643e-05/0.02318, allocations: 11.91 kB / 1.01 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.02326, allocations: 19.94 kB / 1.01 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.02343, allocations: 19.97 kB / 1.01 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.02352, allocations: 23.95 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.02356, allocations: 19.98 kB / 1.01 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001035/0.02366, allocations: 110.2 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.21e-07/0.02366, allocations: 4 kB / 1.01 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003583/0.02402, allocations: 63.89 kB / 1.01 GB, free: 12.96 MB / 0.9669 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.0002446/0.02427, allocations: 133.2 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007882/0.02506, allocations: 345.8 kB / 1.01 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02506, allocations: 128 / 1.01 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003345/0.02539, allocations: 127.8 kB / 1.01 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.02574, allocations: 19.98 kB / 1.011 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008872/0.02662, allocations: 359.7 kB / 1.011 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.02676, allocations: 116.6 kB / 1.011 GB, free: 11.8 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.066e-05/0.02684, allocations: 21.95 kB / 1.011 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.522e-05/0.02691, allocations: 24.48 kB / 1.011 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02691, allocations: 0 / 1.011 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of Templates: time 0.008309/0.03522, allocations: 2.879 MB / 1.014 GB, free: 8.91 MB / 0.9669 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: 8.31990384683013]