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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|couTru.y|couTruAllFal.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 116.2 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.573/2.573, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.84 kB / 1.07 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7228/0.7241, allocations: 159.9 MB / 1.226 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002195/0.7263, allocations: 0.8574 MB / 1.227 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.7267, allocations: 87.7 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.7269, allocations: 7.938 kB / 1.227 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.7271, allocations: 23.78 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.7272, allocations: 7.875 kB / 1.227 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 9.125e-05/0.7273, allocations: 47.95 kB / 1.227 GB, free: 12.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002916/0.7276, allocations: 255.4 kB / 1.228 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004015/0.728, allocations: 298.3 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.7282, allocations: 131.5 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.7284, allocations: 139.3 kB / 1.228 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 6.842e-05/0.7284, allocations: 32 kB / 1.228 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.565e-05/0.7285, allocations: 36 kB / 1.228 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.7286, allocations: 87.7 kB / 1.228 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.7288, allocations: 151.1 kB / 1.228 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.7292, allocations: 466.7 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7292, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7292, allocations: 0 / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.665e-05/0.7292, allocations: 4 kB / 1.229 GB, free: 10.92 MB / 0.9512 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.000744/0.73, allocations: 0.6077 MB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.73, allocations: 8.031 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.754e-05/0.7301, allocations: 40.7 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.7305, allocations: 332.3 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.7306, allocations: 33.03 kB / 1.23 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.303e-05/0.7306, allocations: 32.38 kB / 1.23 GB, free: 9.785 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005798/0.7312, allocations: 404.2 kB / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.7312, allocations: 192 / 1.23 GB, free: 9.379 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.7313, allocations: 15.94 kB / 1.23 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.7313, allocations: 8 kB / 1.23 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/0.7318, allocations: 307.5 kB / 1.231 GB, free: 9.055 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.7331, allocations: 1.058 MB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001399/0.7333, allocations: 93.16 kB / 1.232 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.7334, allocations: 45.8 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.7334, allocations: 0 / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.7334, allocations: 34.55 kB / 1.232 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.7334, allocations: 4 kB / 1.232 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.000352/0.7338, allocations: 169.3 kB / 1.232 GB, free: 7.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.7338, allocations: 81.05 kB / 1.232 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005806/0.7344, allocations: 0.5053 MB / 1.233 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.7345, allocations: 29.7 kB / 1.233 GB, free: 6.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7346, allocations: 207.7 kB / 1.233 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.901e-05/0.7346, allocations: 19.88 kB / 1.233 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.649e-05/0.7347, allocations: 53.66 kB / 1.233 GB, free: 6.629 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7348, allocations: 350.8 kB / 1.233 GB, free: 6.277 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001112/0.7349, allocations: 67.95 kB / 1.233 GB, free: 6.211 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.735, allocations: 99.31 kB / 1.233 GB, free: 6.109 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001565/0.7352, allocations: 113.6 kB / 1.233 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7352, allocations: 0 / 1.233 GB, free: 5.992 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003056/0.7355, allocations: 209.3 kB / 1.234 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.7356, allocations: 8 kB / 1.234 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7356, allocations: 4 kB / 1.234 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.7356, allocations: 0 / 1.234 GB, free: 5.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.7357, allocations: 27.98 kB / 1.234 GB, free: 5.742 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.7358, allocations: 7.875 kB / 1.234 GB, free: 5.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.766e-05/0.7358, allocations: 35.69 kB / 1.234 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.898e-05/0.7359, allocations: 8 kB / 1.234 GB, free: 5.691 MB / 0.9512 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.0001836/0.7361, allocations: 200 kB / 1.234 GB, free: 5.484 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.7361, allocations: 31.81 kB / 1.234 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002094/0.7364, allocations: 118.4 kB / 1.234 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.7364, allocations: 0 / 1.234 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.7364, allocations: 4.125 kB / 1.234 GB, free: 5.324 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.7365, allocations: 120.9 kB / 1.234 GB, free: 5.188 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.7365, allocations: 11.86 kB / 1.234 GB, free: 5.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.209e-05/0.7366, allocations: 4 kB / 1.234 GB, free: 5.172 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.7366, allocations: 7.984 kB / 1.234 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001236/0.7368, allocations: 208.3 kB / 1.234 GB, free: 4.953 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001989/0.737, allocations: 341.7 kB / 1.235 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.48e-05/0.737, allocations: 12 kB / 1.235 GB, free: 4.59 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003839/0.7374, allocations: 383.1 kB / 1.235 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of Backend: time 5.11e-07/0.7374, allocations: 0 / 1.235 GB, free: 4.219 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.738, allocations: 174.3 kB / 1.235 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008897/0.7389, allocations: 0.9662 MB / 1.236 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of Templates: time 0.005832/0.7447, allocations: 2.435 MB / 1.239 GB, free: 0.5977 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches