Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00259/0.00259, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.003168/0.003168, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.549/1.549, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.044/3.044, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.928e-05/4.186e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002399/0.002441, allocations: 0.8803 MB / 0.8116 GB, free: 1.277 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003069/0.002747, allocations: 91.64 kB / 0.8117 GB, free: 1.188 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.638e-05/0.002834, allocations: 4 kB / 0.8117 GB, free: 1.184 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.002981, allocations: 26.2 kB / 0.8118 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.003133, allocations: 20.06 kB / 0.8118 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.495e-05/0.003227, allocations: 35.97 kB / 0.8118 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.003594, allocations: 259.4 kB / 0.8121 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.003933, allocations: 167.9 kB / 0.8122 GB, free: 0.6836 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002477/0.004181, allocations: 191.6 kB / 0.8124 GB, free: 0.4961 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.00438, allocations: 119.7 kB / 0.8125 GB, free: 388 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.004451, allocations: 36.78 kB / 0.8126 GB, free: 352 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.531e-05/0.004507, allocations: 35.94 kB / 0.8126 GB, free: 316 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.004613, allocations: 85.44 kB / 0.8127 GB, free: 232 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.004742, allocations: 103.6 kB / 0.8128 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.005327, allocations: 466.4 kB / 0.8132 GB, free: 15.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.005334, allocations: 4 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.492e-06/0.005335, allocations: 1.531 kB / 0.8132 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.005343, allocations: 0 / 0.8132 GB, free: 15.66 MB / 0.7761 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.000912/0.006255, allocations: 0.6476 MB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.006295, allocations: 8.031 kB / 0.8139 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.006428, allocations: 70.45 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005086/0.006936, allocations: 273.2 kB / 0.8142 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.366e-05/0.007, allocations: 33.03 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.007052, allocations: 33 kB / 0.8143 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/0.007716, allocations: 357.9 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.00773, allocations: 1.094 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.007766, allocations: 16.38 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.007779, allocations: 12.92 kB / 0.8146 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004513/0.00823, allocations: 223.5 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/0.01026, allocations: 1.035 MB / 0.8158 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.01047, allocations: 108.7 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.516e-05/0.01056, allocations: 47.45 kB / 0.816 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.01059, allocations: 7.984 kB / 0.816 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.01063, allocations: 33.39 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.01063, allocations: 0 / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.0004043/0.01104, allocations: 149.5 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.01111, allocations: 77.11 kB / 0.8163 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006084/0.01172, allocations: 488.4 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.01174, allocations: 25.7 kB / 0.8167 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002642/0.01201, allocations: 275.9 kB / 0.817 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.005e-05/0.01203, allocations: 12.44 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001971/0.01222, allocations: 123.3 kB / 0.8171 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003233/0.01255, allocations: 0.5212 MB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.01268, allocations: 67.86 kB / 0.8177 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.01283, allocations: 91.25 kB / 0.8178 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.01303, allocations: 115.3 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.01303, allocations: 0.5 kB / 0.8179 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003445/0.01338, allocations: 190 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.0134, allocations: 8 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.0134, allocations: 0.7812 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.01342, allocations: 3.984 kB / 0.8181 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.01358, allocations: 29.09 kB / 0.8181 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.01359, allocations: 0 / 0.8181 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.01365, allocations: 23.84 kB / 0.8181 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.01367, allocations: 9.359 kB / 0.8182 GB, free: 10.37 MB / 0.7761 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.0002458/0.01392, allocations: 227 kB / 0.8184 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.465e-05/0.01398, allocations: 25.02 kB / 0.8184 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.01423, allocations: 114.5 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.01423, allocations: 0.9688 kB / 0.8185 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.01424, allocations: 8 kB / 0.8185 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.01424, allocations: 0 / 0.8185 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008747/0.01511, allocations: 0.7748 MB / 0.8193 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.01512, allocations: 4 kB / 0.8193 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.576e-05/0.01514, allocations: 4 kB / 0.8193 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01515, allocations: 0 / 0.8193 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.01515, allocations: 0 / 0.8193 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.01516, allocations: 7.938 kB / 0.8193 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.01516, allocations: 2.781 kB / 0.8193 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.01535, allocations: 139.3 kB / 0.8194 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.01539, allocations: 15.86 kB / 0.8194 GB, free: 8.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.01542, allocations: 7.984 kB / 0.8194 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.01546, allocations: 7.938 kB / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.01549, allocations: 0 / 0.8195 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.377e-06/0.0155, allocations: 8 kB / 0.8195 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003457/0.01585, allocations: 286.5 kB / 0.8197 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01585, allocations: 0 / 0.8197 GB, free: 8.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002761/0.01612, allocations: 59.73 kB / 0.8198 GB, free: 8.586 MB / 0.7761 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.0001423/0.01626, allocations: 97.09 kB / 0.8199 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.01651, allocations: 115.9 kB / 0.82 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.01651, allocations: 0 / 0.82 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.627e-05/0.01656, allocations: 24.77 kB / 0.82 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.0168, allocations: 31.31 kB / 0.82 GB, free: 8.309 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.01765, allocations: 0.4904 MB / 0.8205 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002169/0.01787, allocations: 174.8 kB / 0.8207 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.417e-05/0.01795, allocations: 33.61 kB / 0.8207 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.99e-05/0.018, allocations: 18.03 kB / 0.8207 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of SimCode: time 6.31e-07/0.018, allocations: 0 / 0.8207 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of Templates: time 0.005407/0.02341, allocations: 1.201 MB / 0.8219 GB, free: 6.371 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.207220976008102]