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.001428/0.001428, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.001076/0.001076, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 1.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.48 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 2.235/2.235, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8794 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.062e-05/3.264e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.002112/0.002145, allocations: 0.9846 MB / 0.8803 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.004266, allocations: 1.616 MB / 0.8819 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.004398, allocations: 3.938 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.978e-05/0.004448, allocations: 21.45 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001257/0.004573, allocations: 31.66 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006489/0.005222, allocations: 221.5 kB / 0.8822 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003375/0.00556, allocations: 307.4 kB / 0.8825 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.005719, allocations: 54.92 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003748/0.006094, allocations: 195.5 kB / 0.8827 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.00623, allocations: 96.27 kB / 0.8828 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.854e-05/0.006269, allocations: 29.34 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.293e-05/0.006362, allocations: 51.97 kB / 0.8829 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.921e-05/0.006411, allocations: 55.86 kB / 0.8829 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.458e-05/0.006495, allocations: 89.39 kB / 0.883 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/0.006804, allocations: 223.3 kB / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.006807, allocations: 0 / 0.8832 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.52e-07/0.006808, allocations: 3.938 kB / 0.8832 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.006814, allocations: 0 / 0.8832 GB, free: 2.086 MB / 0.8386 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.0007205/0.007534, allocations: 0.5542 MB / 0.8838 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.007578, allocations: 12.03 kB / 0.8838 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.007798, allocations: 47.62 kB / 0.8838 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.008074, allocations: 217.6 kB / 0.884 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.008108, allocations: 16.66 kB / 0.8841 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.008141, allocations: 28.36 kB / 0.8841 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002867/0.008428, allocations: 186.1 kB / 0.8843 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.008441, allocations: 4.125 kB / 0.8843 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.008462, allocations: 16.34 kB / 0.8843 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.00847, allocations: 7.938 kB / 0.8843 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.008621, allocations: 92.94 kB / 0.8844 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006354/0.009256, allocations: 0.5114 MB / 0.8849 GB, free: 316 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.009439, allocations: 106.9 kB / 0.885 GB, free: 196 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.268e-05/0.009502, allocations: 47.64 kB / 0.885 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.009524, allocations: 4 kB / 0.885 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002839/0.009808, allocations: 199.6 kB / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=27): time 2.165e-06/0.00981, allocations: 0 / 0.8852 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=27): time 0.0004444/0.01025, allocations: 315.5 kB / 0.8855 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.0103, allocations: 59.34 kB / 0.8856 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.01042, allocations: 204 kB / 0.8858 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.01045, allocations: 45.7 kB / 0.8858 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.01054, allocations: 167.7 kB / 0.886 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.29e-05/0.0106, allocations: 71.5 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.863e-05/0.0107, allocations: 83.3 kB / 0.8861 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.01085, allocations: 0.504 MB / 0.8866 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.01095, allocations: 81.66 kB / 0.8867 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.01106, allocations: 125 kB / 0.8868 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.01122, allocations: 161.4 kB / 0.887 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01123, allocations: 0 / 0.887 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003494/0.01157, allocations: 318.2 kB / 0.8873 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.044e-05/0.01162, allocations: 33.7 kB / 0.8873 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.01162, allocations: 4 kB / 0.8873 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.01164, allocations: 0 / 0.8873 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.01176, allocations: 39.91 kB / 0.8873 GB, free: 13.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.01176, allocations: 7.938 kB / 0.8874 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.01188, allocations: 39.86 kB / 0.8874 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.089e-05/0.0119, allocations: 15.94 kB / 0.8874 GB, free: 13.55 MB / 0.8542 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.0001426/0.01204, allocations: 192.6 kB / 0.8876 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.053e-05/0.01209, allocations: 27.91 kB / 0.8876 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.944e-05/0.01212, allocations: 21.97 kB / 0.8876 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.01213, allocations: 7.984 kB / 0.8876 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.01214, allocations: 3.938 kB / 0.8876 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.01214, allocations: 0 / 0.8876 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005247/0.01267, allocations: 0.5563 MB / 0.8882 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.01267, allocations: 0 / 0.8882 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.061e-05/0.01272, allocations: 11.98 kB / 0.8882 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01272, allocations: 3.984 kB / 0.8882 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.01274, allocations: 11.98 kB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01274, allocations: 0 / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.01275, allocations: 3.938 kB / 0.8882 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.01309, allocations: 420.8 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.644e-05/0.01311, allocations: 15.91 kB / 0.8886 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.01315, allocations: 12 kB / 0.8887 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.362e-05/0.01323, allocations: 27.97 kB / 0.8887 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/0.01329, allocations: 27.89 kB / 0.8887 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.01332, allocations: 15.98 kB / 0.8887 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.335e-05/0.01338, allocations: 144.7 kB / 0.8889 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01338, allocations: 0 / 0.8889 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002663/0.01365, allocations: 67.89 kB / 0.8889 GB, free: 11.95 MB / 0.8542 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.0002031/0.01385, allocations: 133.2 kB / 0.889 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003338/0.01418, allocations: 270.2 kB / 0.8893 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.01419, allocations: 0 / 0.8893 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001045/0.01429, allocations: 91.48 kB / 0.8894 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002595/0.01455, allocations: 36.91 kB / 0.8894 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006968/0.01525, allocations: 347.5 kB / 0.8898 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.397e-05/0.0153, allocations: 76.33 kB / 0.8898 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.01536, allocations: 21.95 kB / 0.8899 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.01549, allocations: 110.2 kB / 0.89 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.01549, allocations: 0 / 0.89 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.005687/0.02117, allocations: 3.214 MB / 0.8931 GB, free: 7.617 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.990741097833961]