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.001983/0.001983, allocations: 88.72 kB / 19.44 MB, free: 352 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.002575/0.002575, allocations: 157.7 kB / 22.76 MB, free: 1.676 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.504/1.504, allocations: 177.1 MB / 203.1 MB, free: 5.18 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.269/3.269, allocations: 429.6 MB / 0.673 GB, free: 3.883 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 2.404e-06/2.404e-06, allocations: 0 / 0.8776 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.124e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002338/0.002369, allocations: 0.8372 MB / 0.8784 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004137/0.002783, allocations: 96.66 kB / 0.8785 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.002928, allocations: 7.938 kB / 0.8785 GB, free: 5.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.003081, allocations: 21.53 kB / 0.8785 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.003247, allocations: 17.66 kB / 0.8785 GB, free: 5.543 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000115/0.003362, allocations: 44.94 kB / 0.8786 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.00375, allocations: 257.4 kB / 0.8788 GB, free: 5.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004043/0.004154, allocations: 172 kB / 0.879 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.004449, allocations: 187.6 kB / 0.8792 GB, free: 4.895 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.004689, allocations: 124.6 kB / 0.8793 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.524e-05/0.004774, allocations: 32 kB / 0.8793 GB, free: 4.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.303e-05/0.004837, allocations: 32 kB / 0.8793 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.004949, allocations: 88.5 kB / 0.8794 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.005096, allocations: 95.69 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006102/0.005707, allocations: 473.9 kB / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.00571, allocations: 0 / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.005711, allocations: 0 / 0.88 GB, free: 4.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.005726, allocations: 0 / 0.88 GB, free: 4.07 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.0009709/0.006697, allocations: 0.5207 MB / 0.8805 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.006754, allocations: 12.03 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.006908, allocations: 72.64 kB / 0.8806 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.007395, allocations: 281.7 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.234e-05/0.007458, allocations: 29.62 kB / 0.8809 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.007508, allocations: 36.36 kB / 0.8809 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007012/0.00821, allocations: 405.4 kB / 0.8813 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.008224, allocations: 4.172 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.214e-05/0.008257, allocations: 12.38 kB / 0.8813 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.008268, allocations: 9.906 kB / 0.8813 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005515/0.008819, allocations: 303.5 kB / 0.8816 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001493/0.01031, allocations: 0.8416 MB / 0.8824 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.01049, allocations: 86.38 kB / 0.8825 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.01058, allocations: 50.28 kB / 0.8825 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.0106, allocations: 4 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.01065, allocations: 42.5 kB / 0.8826 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01065, allocations: 0 / 0.8826 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003936/0.01105, allocations: 149.5 kB / 0.8827 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.342e-05/0.01112, allocations: 93.03 kB / 0.8828 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.01154, allocations: 333.6 kB / 0.8831 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.01157, allocations: 25.7 kB / 0.8832 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.01176, allocations: 220.3 kB / 0.8834 GB, free: 428 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.01178, allocations: 15.94 kB / 0.8834 GB, free: 412 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/0.0119, allocations: 73.64 kB / 0.8835 GB, free: 332 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002736/0.01217, allocations: 334.8 kB / 0.8838 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.0123, allocations: 71.95 kB / 0.8838 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01245, allocations: 85.67 kB / 0.8839 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.01266, allocations: 117.5 kB / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01266, allocations: 0 / 0.884 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003473/0.013, allocations: 205.4 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.01302, allocations: 6.5 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01302, allocations: 0 / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.01305, allocations: 8.312 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01319, allocations: 27.98 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.0132, allocations: 4 kB / 0.8843 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.528e-05/0.01326, allocations: 15.89 kB / 0.8843 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01328, allocations: 12 kB / 0.8843 GB, free: 15.43 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.000253/0.01354, allocations: 211.6 kB / 0.8845 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.722e-05/0.0136, allocations: 23.86 kB / 0.8845 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.01382, allocations: 96.73 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.644e-06/0.01382, allocations: 3.938 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.01383, allocations: 0 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.01383, allocations: 64 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006099/0.01444, allocations: 0.5663 MB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01444, allocations: 0 / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.01448, allocations: 4 kB / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01448, allocations: 0 / 0.8852 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.01448, allocations: 4 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/0.01449, allocations: 7.875 kB / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01449, allocations: 0 / 0.8852 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.01465, allocations: 115.6 kB / 0.8853 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.417e-05/0.01469, allocations: 27.97 kB / 0.8853 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01472, allocations: 4 kB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.01476, allocations: 7.938 kB / 0.8853 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.466e-05/0.01479, allocations: 7.938 kB / 0.8854 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.01479, allocations: 4 kB / 0.8854 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002836/0.01507, allocations: 233.2 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.01507, allocations: 0 / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002729/0.01535, allocations: 59.73 kB / 0.8856 GB, free: 13.96 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.0001387/0.01549, allocations: 95.25 kB / 0.8857 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.01571, allocations: 103.9 kB / 0.8858 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01571, allocations: 0 / 0.8858 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.01575, allocations: 15.94 kB / 0.8858 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.01599, allocations: 28.48 kB / 0.8859 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008442/0.01684, allocations: 0.4956 MB / 0.8864 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.01706, allocations: 187.4 kB / 0.8865 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001005/0.01716, allocations: 41.59 kB / 0.8866 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.458e-05/0.01721, allocations: 16.5 kB / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.01721, allocations: 0 / 0.8866 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.004701/0.02191, allocations: 1.205 MB / 0.8878 GB, free: 11.73 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 800] 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.219460990047082]