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.00198/0.00198, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002479/0.002479, allocations: 161.7 kB / 23.54 MB, free: 0.8984 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.578 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 2.971/2.971, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.364e-06/2.364e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.054e-05/3.29e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.00225/0.002283, allocations: 0.8526 MB / 0.8116 GB, free: 1.293 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003393/0.002622, allocations: 87.69 kB / 0.8117 GB, free: 1.207 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.002726, allocations: 8.594 kB / 0.8117 GB, free: 1.199 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.002877, allocations: 23.78 kB / 0.8118 GB, free: 1.176 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001336/0.00301, allocations: 12.97 kB / 0.8118 GB, free: 1.164 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 9.912e-05/0.003109, allocations: 43.95 kB / 0.8118 GB, free: 1.121 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0003455/0.003455, allocations: 255.9 kB / 0.812 GB, free: 0.8711 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.0038, allocations: 166.9 kB / 0.8122 GB, free: 0.7031 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002619/0.004062, allocations: 196.8 kB / 0.8124 GB, free: 0.5117 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.004269, allocations: 119.7 kB / 0.8125 GB, free: 404 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 6.256e-05/0.004332, allocations: 32 kB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 5.164e-05/0.004384, allocations: 33.97 kB / 0.8126 GB, free: 340 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.004491, allocations: 95.67 kB / 0.8127 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.004625, allocations: 91.75 kB / 0.8128 GB, free: 152 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.000593/0.005218, allocations: 470.4 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005221, allocations: 0 / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005222, allocations: 1.312 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.317e-05/0.005235, allocations: 0 / 0.8132 GB, free: 15.69 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.0008919/0.006127, allocations: 0.5169 MB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.006169, allocations: 12.03 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.006303, allocations: 65.8 kB / 0.8138 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005147/0.006817, allocations: 290.5 kB / 0.8141 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.841e-05/0.006876, allocations: 30.41 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.006932, allocations: 36.38 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007351/0.007667, allocations: 400.1 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.00768, allocations: 1.688 kB / 0.8145 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.007716, allocations: 16.38 kB / 0.8145 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.007732, allocations: 12.36 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005457/0.008278, allocations: 303.5 kB / 0.8148 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.009754, allocations: 0.8354 MB / 0.8156 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.009925, allocations: 89.16 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.01001, allocations: 50.31 kB / 0.8158 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.01003, allocations: 5.938 kB / 0.8158 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.01007, allocations: 34.56 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01007, allocations: 0 / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=6): time 0.000388/0.01046, allocations: 153.8 kB / 0.816 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.383e-05/0.01053, allocations: 85.09 kB / 0.816 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.01096, allocations: 347.6 kB / 0.8164 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.01098, allocations: 29.7 kB / 0.8164 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.01116, allocations: 208.4 kB / 0.8166 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.75e-05/0.01118, allocations: 15.91 kB / 0.8166 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.0113, allocations: 73.67 kB / 0.8167 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002011/0.0115, allocations: 342.7 kB / 0.817 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01163, allocations: 64.45 kB / 0.8171 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.01177, allocations: 86.11 kB / 0.8172 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/0.01206, allocations: 118.3 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01206, allocations: 4 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003588/0.01242, allocations: 205.9 kB / 0.8175 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.01243, allocations: 5.531 kB / 0.8175 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01244, allocations: 0 / 0.8175 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.01246, allocations: 4.047 kB / 0.8175 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.01262, allocations: 35.91 kB / 0.8175 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01262, allocations: 0 / 0.8175 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.828e-05/0.01269, allocations: 16.42 kB / 0.8175 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.01271, allocations: 8.938 kB / 0.8175 GB, free: 11.06 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.0002288/0.01294, allocations: 201.6 kB / 0.8177 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.01301, allocations: 27.78 kB / 0.8177 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.01324, allocations: 105.5 kB / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01324, allocations: 0 / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01325, allocations: 1.469 kB / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.01325, allocations: 0 / 0.8179 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.01388, allocations: 0.5713 MB / 0.8184 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.01389, allocations: 0 / 0.8184 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.01391, allocations: 4 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.01392, allocations: 6 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.01392, allocations: 0 / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.01393, allocations: 3.938 kB / 0.8184 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.01393, allocations: 7.938 kB / 0.8184 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.0141, allocations: 111.6 kB / 0.8185 GB, free: 9.941 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/0.01414, allocations: 18.25 kB / 0.8186 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.01417, allocations: 11.94 kB / 0.8186 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.01421, allocations: 7.938 kB / 0.8186 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.01424, allocations: 4 kB / 0.8186 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.01424, allocations: 4 kB / 0.8186 GB, free: 9.898 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003007/0.01455, allocations: 233.2 kB / 0.8188 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.01455, allocations: 4.438 kB / 0.8188 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002813/0.01483, allocations: 55.78 kB / 0.8189 GB, free: 9.605 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.0001322/0.01496, allocations: 97.84 kB / 0.819 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.0152, allocations: 107.8 kB / 0.8191 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0152, allocations: 0 / 0.8191 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.257e-05/0.01523, allocations: 16.5 kB / 0.8191 GB, free: 9.379 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.0155, allocations: 31.72 kB / 0.8191 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008964/0.0164, allocations: 0.4917 MB / 0.8196 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.01663, allocations: 184.4 kB / 0.8198 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.01673, allocations: 45.59 kB / 0.8198 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.369e-05/0.01679, allocations: 16.5 kB / 0.8198 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.01679, allocations: 0 / 0.8198 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of Templates: time 0.004896/0.02168, allocations: 1.209 MB / 0.821 GB, free: 7.398 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 400] 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: 7.8507116350810975]