Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.002445/0.002445, allocations: 85.48 kB / 19.44 MB, free: 344 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.002863/0.002863, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.599/1.599, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.556/3.556, allocations: 429.4 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] 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.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8774 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/3.017e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00228/0.00231, allocations: 0.8652 MB / 0.8783 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003223/0.002632, allocations: 95.62 kB / 0.8784 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.002717, allocations: 7.938 kB / 0.8784 GB, free: 5.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.002873, allocations: 20.77 kB / 0.8784 GB, free: 5.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.003013, allocations: 21.39 kB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 8.994e-05/0.003103, allocations: 40.47 kB / 0.8785 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.003442, allocations: 255.7 kB / 0.8787 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005617/0.004003, allocations: 174.9 kB / 0.8789 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.004235, allocations: 187.6 kB / 0.879 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001925/0.004427, allocations: 123.7 kB / 0.8792 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.232e-05/0.004489, allocations: 32.78 kB / 0.8792 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-05/0.004545, allocations: 32 kB / 0.8792 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.00468, allocations: 97.02 kB / 0.8793 GB, free: 4.758 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.004808, allocations: 91.69 kB / 0.8794 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.005351, allocations: 466.4 kB / 0.8799 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005354, allocations: 0.9062 kB / 0.8799 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.005355, allocations: 0 / 0.8799 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.005363, allocations: 0 / 0.8799 GB, free: 4.211 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.0008882/0.006251, allocations: 0.6561 MB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.006303, allocations: 12.03 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.006431, allocations: 66.25 kB / 0.8806 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/0.006944, allocations: 272.5 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.386e-05/0.007008, allocations: 38.45 kB / 0.8809 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.007057, allocations: 32.38 kB / 0.8809 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006432/0.0077, allocations: 361.9 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.007714, allocations: 192 / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.007746, allocations: 19.48 kB / 0.8813 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.007757, allocations: 8.375 kB / 0.8813 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000427/0.008184, allocations: 219.6 kB / 0.8815 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.009878, allocations: 1.03 MB / 0.8825 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.01007, allocations: 106.1 kB / 0.8826 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.414e-05/0.01016, allocations: 51.44 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.01019, allocations: 0.5938 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.01023, allocations: 37.39 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.01023, allocations: 1.344 kB / 0.8827 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0004314/0.01066, allocations: 153.4 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.01074, allocations: 81.11 kB / 0.8829 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005972/0.01134, allocations: 479.9 kB / 0.8834 GB, free: 444 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.01137, allocations: 29.7 kB / 0.8834 GB, free: 408 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002708/0.01164, allocations: 279.1 kB / 0.8836 GB, free: 124 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.01166, allocations: 11.95 kB / 0.8837 GB, free: 112 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.01187, allocations: 119.3 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003613/0.01223, allocations: 0.5273 MB / 0.8843 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.01235, allocations: 55.95 kB / 0.8843 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.01251, allocations: 91.33 kB / 0.8844 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.01272, allocations: 123.2 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01272, allocations: 0 / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003355/0.01306, allocations: 189.4 kB / 0.8847 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.01308, allocations: 10.5 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01308, allocations: 0 / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.01311, allocations: 4 kB / 0.8847 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.01328, allocations: 35.92 kB / 0.8848 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.01329, allocations: 0 / 0.8848 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.01335, allocations: 11.89 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.01337, allocations: 8 kB / 0.8848 GB, free: 14.91 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (couTru.booToInt[1].y,couTru.booToInt[2].y,couTru.booToInt[3].y,couTru.booToInt[4].y,couTru.booToInt[5].y,couTru.booToInt[6].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y,couTruAllFal.booToInt[1].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[6].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0002865/0.01365, allocations: 238.8 kB / 0.885 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.01372, allocations: 23.8 kB / 0.885 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.01396, allocations: 106.4 kB / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01396, allocations: 0 / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.01397, allocations: 0 / 0.8851 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01397, allocations: 3.938 kB / 0.8851 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.01505, allocations: 0.7795 MB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.01505, allocations: 4 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.355e-05/0.01508, allocations: 4.188 kB / 0.8859 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01508, allocations: 4 kB / 0.8859 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.01508, allocations: 4 kB / 0.8859 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.01509, allocations: 7.922 kB / 0.8859 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.0151, allocations: 7.938 kB / 0.8859 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.01527, allocations: 131.4 kB / 0.8861 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.352e-05/0.01532, allocations: 15.91 kB / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01534, allocations: 0 / 0.8861 GB, free: 13.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.01539, allocations: 11.94 kB / 0.8861 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.002e-05/0.01542, allocations: 7.984 kB / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.01542, allocations: 0 / 0.8861 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003096/0.01573, allocations: 293.1 kB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01573, allocations: 3.938 kB / 0.8864 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002545/0.01599, allocations: 55.72 kB / 0.8864 GB, free: 13.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (couTru.y,couTru.intEqu.y,couTruAllFal.y,couTruAllFal.intEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001417/0.01613, allocations: 99.25 kB / 0.8865 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002499/0.01638, allocations: 111.6 kB / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01638, allocations: 0 / 0.8866 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.352e-05/0.01642, allocations: 27.62 kB / 0.8867 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01665, allocations: 28.73 kB / 0.8867 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007957/0.01745, allocations: 0.4899 MB / 0.8872 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.01765, allocations: 175.2 kB / 0.8873 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.537e-05/0.01773, allocations: 37.59 kB / 0.8874 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.01778, allocations: 16.5 kB / 0.8874 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01778, allocations: 0 / 0.8874 GB, free: 12.04 MB / 0.8542 GB Notification: Performance of Templates: time 0.004888/0.02267, allocations: 1.182 MB / 0.8885 GB, free: 10.88 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.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.60798805905506]