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.001552/0.001552, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001855/0.001855, allocations: 173 kB / 23.49 MB, free: 1.059 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.9955/0.9955, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.104/2.104, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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 3.647e-06/3.647e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.505e-05/3.869e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001888/0.001927, allocations: 0.9856 MB / 0.8791 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001778/0.003705, allocations: 1.626 MB / 0.8807 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003807, allocations: 7.938 kB / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.114e-05/0.003848, allocations: 15.8 kB / 0.8807 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.003953, allocations: 32.75 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00055/0.004503, allocations: 220.5 kB / 0.881 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.004772, allocations: 303.3 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.004918, allocations: 55.94 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003035/0.005221, allocations: 191.6 kB / 0.8815 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.005334, allocations: 96.8 kB / 0.8816 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.908e-05/0.005374, allocations: 32 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.005449, allocations: 47.97 kB / 0.8817 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.348e-05/0.005493, allocations: 60.69 kB / 0.8817 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.767e-05/0.005581, allocations: 83.86 kB / 0.8818 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.005842, allocations: 224.9 kB / 0.882 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005846, allocations: 4 kB / 0.882 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.402e-06/0.005847, allocations: 0 / 0.882 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.005853, allocations: 0 / 0.882 GB, free: 2.68 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.000684/0.006537, allocations: 0.5626 MB / 0.8826 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.006577, allocations: 8.031 kB / 0.8826 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.006765, allocations: 48.78 kB / 0.8826 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.007037, allocations: 210.5 kB / 0.8828 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.719e-05/0.007074, allocations: 20.66 kB / 0.8829 GB, free: 1.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.303e-05/0.007107, allocations: 25.45 kB / 0.8829 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.007417, allocations: 193 kB / 0.8831 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.007427, allocations: 0.8438 kB / 0.8831 GB, free: 1.551 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.007452, allocations: 20.28 kB / 0.8831 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.007463, allocations: 9.531 kB / 0.8831 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.007656, allocations: 108.7 kB / 0.8832 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006403/0.008296, allocations: 0.5449 MB / 0.8837 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.008505, allocations: 107 kB / 0.8838 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.253e-05/0.008597, allocations: 51.66 kB / 0.8839 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.00862, allocations: 7.984 kB / 0.8839 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.008896, allocations: 217.7 kB / 0.8841 GB, free: 444 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 2.385e-06/0.008899, allocations: 0 / 0.8841 GB, free: 444 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0004913/0.00939, allocations: 348.4 kB / 0.8844 GB, free: 92 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.009431, allocations: 60.06 kB / 0.8845 GB, free: 20 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.009554, allocations: 207.4 kB / 0.8847 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.009586, allocations: 46.27 kB / 0.8847 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.874e-05/0.009654, allocations: 168.6 kB / 0.8849 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.009702, allocations: 67.52 kB / 0.885 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-05/0.009789, allocations: 79.34 kB / 0.885 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.009915, allocations: 0.5118 MB / 0.8855 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.01004, allocations: 89.66 kB / 0.8856 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.01018, allocations: 141 kB / 0.8857 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.01036, allocations: 177.4 kB / 0.8859 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01037, allocations: 4 kB / 0.8859 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0003787/0.01075, allocations: 334.2 kB / 0.8862 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.01079, allocations: 40.2 kB / 0.8863 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01079, allocations: 0 / 0.8863 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.01081, allocations: 8 kB / 0.8863 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.01094, allocations: 35.91 kB / 0.8863 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.01095, allocations: 4 kB / 0.8863 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.01107, allocations: 43.86 kB / 0.8864 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01109, allocations: 12 kB / 0.8864 GB, free: 13.97 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.000145/0.01123, allocations: 196.5 kB / 0.8866 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.01127, allocations: 31.91 kB / 0.8866 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.01131, allocations: 21.95 kB / 0.8866 GB, free: 13.72 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01131, allocations: 7.938 kB / 0.8866 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01132, allocations: 0 / 0.8866 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01132, allocations: 0 / 0.8866 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005378/0.01186, allocations: 0.5909 MB / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01186, allocations: 0 / 0.8872 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.753e-05/0.01191, allocations: 19.92 kB / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01191, allocations: 0 / 0.8872 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.01193, allocations: 15.92 kB / 0.8872 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01193, allocations: 0 / 0.8872 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01194, allocations: 0 / 0.8872 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.0123, allocations: 440.9 kB / 0.8877 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/0.01231, allocations: 11.91 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.01236, allocations: 19.94 kB / 0.8877 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.01243, allocations: 23.97 kB / 0.8877 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.01251, allocations: 27.89 kB / 0.8877 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.457e-05/0.01253, allocations: 15.98 kB / 0.8877 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.9e-05/0.01262, allocations: 153 kB / 0.8879 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01262, allocations: 4 kB / 0.8879 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002267/0.01285, allocations: 67.89 kB / 0.888 GB, free: 12.28 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.0001578/0.01301, allocations: 121.2 kB / 0.8881 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.01335, allocations: 298 kB / 0.8884 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01336, allocations: 0 / 0.8884 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.01348, allocations: 99.78 kB / 0.8885 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.01372, allocations: 36.09 kB / 0.8885 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008527/0.01458, allocations: 357.1 kB / 0.8888 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.92e-05/0.01463, allocations: 76.33 kB / 0.8889 GB, free: 11.23 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.01468, allocations: 29.94 kB / 0.8889 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.795e-05/0.01473, allocations: 24.48 kB / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of SimCode: time 1.463e-06/0.01473, allocations: 0 / 0.889 GB, free: 11.18 MB / 0.8542 GB Notification: Performance of Templates: time 0.005404/0.02014, allocations: 2.906 MB / 0.8918 GB, free: 8.312 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.506232917075977]