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.001313/0.001313, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001673/0.001673, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.9672/0.9672, allocations: 177.1 MB / 203.8 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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 2.411/2.411, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.913e-06/1.913e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.584e-05, allocations: 8.359 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001757/0.001783, allocations: 1.005 MB / 0.8396 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0004365/0.002219, allocations: 171.2 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.002329, allocations: 7.938 kB / 0.8397 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.002462, allocations: 31.72 kB / 0.8398 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.002577, allocations: 19.8 kB / 0.8398 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.002721, allocations: 75.86 kB / 0.8399 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.00299, allocations: 351.3 kB / 0.8402 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002773/0.003268, allocations: 289.5 kB / 0.8405 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.003562, allocations: 311.4 kB / 0.8408 GB, free: 12.01 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.003716, allocations: 159.6 kB / 0.8409 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.00377, allocations: 52 kB / 0.841 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.613e-05/0.003806, allocations: 48 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.003895, allocations: 131.6 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.003985, allocations: 135.6 kB / 0.8413 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003019/0.004287, allocations: 390.5 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.00429, allocations: 4 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.032e-06/0.004291, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.004297, allocations: 0 / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.0004928/0.00479, allocations: 0.5895 MB / 0.8422 GB, free: 10.49 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.00482, allocations: 16.86 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.973e-05/0.0049, allocations: 76.88 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.00516, allocations: 258 kB / 0.8425 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.005203, allocations: 53.36 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.005241, allocations: 48.38 kB / 0.8426 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.005613, allocations: 374.1 kB / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.005623, allocations: 192 / 0.843 GB, free: 9.637 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.005647, allocations: 20.38 kB / 0.843 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.005655, allocations: 12.38 kB / 0.843 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.005833, allocations: 156.5 kB / 0.8432 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.006742, allocations: 0.8403 MB / 0.844 GB, free: 8.586 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.006954, allocations: 97.05 kB / 0.8441 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.006989, allocations: 37.7 kB / 0.8441 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.007009, allocations: 4 kB / 0.8441 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.007026, allocations: 30.94 kB / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=20): time 1.263e-06/0.007027, allocations: 0 / 0.8442 GB, free: 8.387 MB / 0.8073 GB Notification: Performance of matching and sorting (n=20): time 0.0001894/0.007216, allocations: 130.2 kB / 0.8443 GB, free: 8.254 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.007257, allocations: 81.11 kB / 0.8444 GB, free: 8.156 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.007423, allocations: 304.5 kB / 0.8447 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.007436, allocations: 25.7 kB / 0.8447 GB, free: 7.816 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.007521, allocations: 236.9 kB / 0.8449 GB, free: 7.582 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.007554, allocations: 63.41 kB / 0.845 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-05/0.007628, allocations: 93.58 kB / 0.8451 GB, free: 7.422 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/0.007712, allocations: 342.8 kB / 0.8454 GB, free: 7.078 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.00775, allocations: 23.98 kB / 0.8454 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.364e-05/0.007804, allocations: 57.64 kB / 0.8455 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.007894, allocations: 83.89 kB / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007896, allocations: 0 / 0.8455 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001387/0.008034, allocations: 140.7 kB / 0.8457 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.008048, allocations: 8 kB / 0.8457 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.008053, allocations: 3.938 kB / 0.8457 GB, free: 6.754 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.008063, allocations: 7.984 kB / 0.8457 GB, free: 6.746 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.008175, allocations: 51.91 kB / 0.8457 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008179, allocations: 3.938 kB / 0.8457 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.008223, allocations: 27.78 kB / 0.8458 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.008238, allocations: 8 kB / 0.8458 GB, free: 6.656 MB / 0.8073 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 (couTruAllFal.booToInt[6].y,couTruAllFal.booToInt[5].y,couTruAllFal.booToInt[4].y,couTruAllFal.booToInt[3].y,couTruAllFal.booToInt[2].y,couTruAllFal.booToInt[1].y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y,couTruAllFal.y,couTru.booToInt[6].y,couTru.booToInt[5].y,couTru.booToInt[4].y,couTru.booToInt[3].y,couTru.booToInt[2].y,couTru.booToInt[1].y,couTru.intEqu.y,couTru.mulMin.y,couTru.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001032/0.008341, allocations: 142.6 kB / 0.8459 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.008377, allocations: 19.98 kB / 0.8459 GB, free: 6.484 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.008533, allocations: 131.4 kB / 0.8461 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.008536, allocations: 4 kB / 0.8461 GB, free: 6.344 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008538, allocations: 3.938 kB / 0.8461 GB, free: 6.34 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.008543, allocations: 7.922 kB / 0.8461 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005749/0.009118, allocations: 0.728 MB / 0.8468 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.009121, allocations: 4 kB / 0.8468 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.548e-05/0.009187, allocations: 39.92 kB / 0.8468 GB, free: 5.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.009191, allocations: 4 kB / 0.8468 GB, free: 5.469 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.009201, allocations: 12.61 kB / 0.8468 GB, free: 5.457 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.009206, allocations: 8 kB / 0.8469 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.009209, allocations: 11.94 kB / 0.8469 GB, free: 5.438 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.009383, allocations: 259.5 kB / 0.8471 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.44e-05/0.009408, allocations: 31.78 kB / 0.8471 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.009426, allocations: 12 kB / 0.8472 GB, free: 5.066 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.898e-05/0.009475, allocations: 12 kB / 0.8472 GB, free: 5.055 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.009522, allocations: 31.84 kB / 0.8472 GB, free: 5.023 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.009534, allocations: 11.98 kB / 0.8472 GB, free: 5.012 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 8.148e-05/0.009615, allocations: 94.64 kB / 0.8473 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.009615, allocations: 0 / 0.8473 GB, free: 4.918 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001933/0.009808, allocations: 87.62 kB / 0.8474 GB, free: 4.832 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (couTru.y,couTru.intEqu.y,couTru.mulMin.y,couTruAllFal.y,couTruAllFal.intEqu.y,couTruAllFal.mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0001032/0.009912, allocations: 99.66 kB / 0.8475 GB, free: 4.73 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.01006, allocations: 112.6 kB / 0.8476 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.01007, allocations: 4 kB / 0.8476 GB, free: 4.613 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.01013, allocations: 64.64 kB / 0.8477 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.01031, allocations: 48.41 kB / 0.8477 GB, free: 4.5 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006772/0.01098, allocations: 0.712 MB / 0.8484 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.462e-05/0.01105, allocations: 116.3 kB / 0.8485 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.877e-05/0.01111, allocations: 22.3 kB / 0.8485 GB, free: 3.543 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.0112, allocations: 91.34 kB / 0.8486 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of SimCode: time 4.7e-07/0.0112, allocations: 0 / 0.8486 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of Templates: time 0.004303/0.0155, allocations: 2.085 MB / 0.8506 GB, free: 1.406 MB / 0.8073 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.391388213261962]