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.001006/0.001006, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009912/0.0009912, allocations: 169 kB / 23.02 MB, free: 1.555 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.9397/0.9397, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.116/2.116, allocations: 429.5 MB / 0.6732 GB, free: 4.031 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.194e-06/2.194e-06, allocations: 0 / 0.8781 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.482e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.HoldReal): time 0.001703/0.001728, allocations: 0.9965 MB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001646/0.003374, allocations: 1.637 MB / 0.8807 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.428e-05/0.003458, allocations: 3.938 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.003497, allocations: 13.41 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.003624, allocations: 35.66 kB / 0.8808 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005194/0.004144, allocations: 217.5 kB / 0.881 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.004397, allocations: 303.4 kB / 0.8813 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001398/0.004537, allocations: 54.92 kB / 0.8813 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.004827, allocations: 203.5 kB / 0.8815 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.004947, allocations: 94.11 kB / 0.8816 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.682e-05/0.004984, allocations: 28 kB / 0.8816 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.618e-05/0.00506, allocations: 47.92 kB / 0.8817 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.005102, allocations: 55.88 kB / 0.8817 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.943e-05/0.005192, allocations: 91.8 kB / 0.8818 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.005449, allocations: 223.3 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.005451, allocations: 0.7188 kB / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.21e-07/0.005452, allocations: 0 / 0.882 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.005456, allocations: 1.656 kB / 0.882 GB, free: 2.348 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.0006661/0.006122, allocations: 0.5603 MB / 0.8826 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006158, allocations: 9.375 kB / 0.8826 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.006326, allocations: 48.78 kB / 0.8826 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.006572, allocations: 212.9 kB / 0.8828 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.094e-05/0.006603, allocations: 24.59 kB / 0.8829 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.351e-05/0.006637, allocations: 20.38 kB / 0.8829 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.006926, allocations: 200.9 kB / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.006936, allocations: 192 / 0.8831 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.177e-05/0.006958, allocations: 12.36 kB / 0.8831 GB, free: 1.195 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.295e-06/0.006966, allocations: 7.938 kB / 0.8831 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.007293, allocations: 112.7 kB / 0.8832 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006748/0.007968, allocations: 0.5462 MB / 0.8837 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.008162, allocations: 110.9 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.008253, allocations: 55.66 kB / 0.8839 GB, free: 324 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.008275, allocations: 4 kB / 0.8839 GB, free: 320 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.00852, allocations: 219.8 kB / 0.8841 GB, free: 84 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=27): time 1.573e-06/0.008522, allocations: 0 / 0.8841 GB, free: 84 kB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.0004868/0.009008, allocations: 341.1 kB / 0.8844 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.009044, allocations: 63.39 kB / 0.8845 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.009156, allocations: 199.4 kB / 0.8847 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.009211, allocations: 49.69 kB / 0.8847 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.009305, allocations: 167.7 kB / 0.8849 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.051e-05/0.009375, allocations: 63.53 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.009505, allocations: 87.33 kB / 0.885 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.009656, allocations: 0.504 MB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.009855, allocations: 93.66 kB / 0.8856 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.01, allocations: 145 kB / 0.8857 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.01019, allocations: 165.5 kB / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.01019, allocations: 0 / 0.8859 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000369/0.01056, allocations: 342.2 kB / 0.8862 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.01059, allocations: 36.2 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.0106, allocations: 0 / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.01062, allocations: 7.938 kB / 0.8863 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01073, allocations: 39.86 kB / 0.8863 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.01074, allocations: 4.062 kB / 0.8863 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.01085, allocations: 39.86 kB / 0.8864 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.01087, allocations: 19.98 kB / 0.8864 GB, free: 13.62 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.0001227/0.01099, allocations: 188.5 kB / 0.8866 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.01103, allocations: 31.89 kB / 0.8866 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.01106, allocations: 21.91 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01107, allocations: 7.938 kB / 0.8866 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.01107, allocations: 4 kB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.01108, allocations: 3.984 kB / 0.8866 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.01162, allocations: 0.5987 MB / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01162, allocations: 0 / 0.8872 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.01166, allocations: 11.98 kB / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.01167, allocations: 0 / 0.8872 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.01168, allocations: 15.92 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01169, allocations: 4 kB / 0.8872 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.01169, allocations: 4 kB / 0.8872 GB, free: 12.69 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/0.01204, allocations: 431.6 kB / 0.8876 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.435e-05/0.01205, allocations: 19.91 kB / 0.8877 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.295e-05/0.0121, allocations: 19.92 kB / 0.8877 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.562e-05/0.01217, allocations: 19.98 kB / 0.8877 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.01223, allocations: 27.94 kB / 0.8877 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.01226, allocations: 15.98 kB / 0.8877 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.01231, allocations: 145.2 kB / 0.8879 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01231, allocations: 0 / 0.8879 GB, free: 12.01 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002199/0.01253, allocations: 71.88 kB / 0.888 GB, free: 11.94 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.0001527/0.01268, allocations: 129.2 kB / 0.8881 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003316/0.01301, allocations: 294.7 kB / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01301, allocations: 0 / 0.8884 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.01313, allocations: 103.5 kB / 0.8885 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.01336, allocations: 40.03 kB / 0.8885 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006767/0.01403, allocations: 355.5 kB / 0.8888 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.01409, allocations: 76.33 kB / 0.8889 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.85e-05/0.01413, allocations: 17.95 kB / 0.8889 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.01418, allocations: 28.48 kB / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of SimCode: time 5.01e-07/0.01418, allocations: 0 / 0.889 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.005397/0.01958, allocations: 2.905 MB / 0.8918 GB, free: 7.969 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.562594853341579]