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.0009436/0.0009436, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001065/0.001065, allocations: 170 kB / 23.27 MB, free: 1.223 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.9406/0.9406, allocations: 177.1 MB / 203.7 MB, free: 5.516 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.368/2.368, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] 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.554e-06/2.554e-06, allocations: 0 / 0.8897 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.555e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001685/0.001711, allocations: 1.004 MB / 0.8907 GB, free: 8.789 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003466/0.002057, allocations: 167.4 kB / 0.8909 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003574/0.002414, allocations: 7.938 kB / 0.8909 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.002542, allocations: 27.72 kB / 0.8909 GB, free: 8.59 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.002669, allocations: 23.73 kB / 0.8909 GB, free: 8.566 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000141/0.00281, allocations: 67.94 kB / 0.891 GB, free: 8.5 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.003071, allocations: 355.3 kB / 0.8913 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002973/0.003369, allocations: 281.6 kB / 0.8916 GB, free: 7.863 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.00365, allocations: 307.4 kB / 0.8919 GB, free: 7.562 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.003799, allocations: 163.6 kB / 0.8921 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.003847, allocations: 48 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.003889, allocations: 52 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.003967, allocations: 127.6 kB / 0.8923 GB, free: 7.18 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.004067, allocations: 139.6 kB / 0.8924 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003072/0.004375, allocations: 382.5 kB / 0.8928 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004377, allocations: 0 / 0.8928 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.72e-07/0.004378, allocations: 0 / 0.8928 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.71e-06/0.004384, allocations: 0 / 0.8928 GB, free: 6.668 MB / 0.8542 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.0005943/0.004978, allocations: 0.7531 MB / 0.8935 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.005018, allocations: 8.922 kB / 0.8935 GB, free: 5.863 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.005121, allocations: 92.61 kB / 0.8936 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.005439, allocations: 312.8 kB / 0.8939 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.005486, allocations: 45.38 kB / 0.8939 GB, free: 5.395 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/0.005527, allocations: 48.38 kB / 0.894 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.005952, allocations: 373 kB / 0.8943 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.005963, allocations: 192 / 0.8943 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.712e-05/0.005991, allocations: 16.38 kB / 0.8944 GB, free: 4.949 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.006002, allocations: 16.38 kB / 0.8944 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.006177, allocations: 146.7 kB / 0.8945 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.007349, allocations: 1.102 MB / 0.8956 GB, free: 3.656 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002613/0.00761, allocations: 118.1 kB / 0.8957 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.007653, allocations: 47.34 kB / 0.8957 GB, free: 3.461 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.007673, allocations: 4 kB / 0.8958 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.007695, allocations: 45.7 kB / 0.8958 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.212e-06/0.007696, allocations: 0 / 0.8958 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0002376/0.007934, allocations: 157.4 kB / 0.8959 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.007969, allocations: 85.05 kB / 0.896 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.008216, allocations: 407.8 kB / 0.8964 GB, free: 2.723 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.008231, allocations: 25.7 kB / 0.8964 GB, free: 2.691 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.008367, allocations: 311 kB / 0.8967 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.114e-05/0.008408, allocations: 71.42 kB / 0.8968 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.008517, allocations: 123.2 kB / 0.8969 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.008654, allocations: 0.5196 MB / 0.8974 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.947e-05/0.008704, allocations: 31.97 kB / 0.8975 GB, free: 1.617 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.2e-05/0.008766, allocations: 67.31 kB / 0.8975 GB, free: 1.543 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.00887, allocations: 101.6 kB / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.008872, allocations: 0 / 0.8976 GB, free: 1.438 MB / 0.8542 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001814/0.009054, allocations: 185.3 kB / 0.8978 GB, free: 1.25 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.009066, allocations: 4 kB / 0.8978 GB, free: 1.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.009071, allocations: 3.984 kB / 0.8978 GB, free: 1.242 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.009082, allocations: 4 kB / 0.8978 GB, free: 1.238 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.009477, allocations: 51.97 kB / 0.8979 GB, free: 1.188 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.009483, allocations: 11.88 kB / 0.8979 GB, free: 1.176 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.668e-05/0.00953, allocations: 23.84 kB / 0.8979 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.009543, allocations: 8 kB / 0.8979 GB, free: 1.145 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 (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.0001079/0.009651, allocations: 174.6 kB / 0.8981 GB, free: 0.9648 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.009695, allocations: 31.86 kB / 0.8981 GB, free: 0.9336 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.009875, allocations: 151.3 kB / 0.8982 GB, free: 0.7852 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.009877, allocations: 4 kB / 0.8982 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.00988, allocations: 7.938 kB / 0.8983 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.009883, allocations: 0 / 0.8983 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007362/0.01062, allocations: 1.021 MB / 0.8992 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.01062, allocations: 4 kB / 0.8993 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.032e-05/0.01069, allocations: 39.91 kB / 0.8993 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.0107, allocations: 8 kB / 0.8993 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.01071, allocations: 8 kB / 0.8993 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.01072, allocations: 7.984 kB / 0.8993 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.01072, allocations: 11.88 kB / 0.8993 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.01097, allocations: 360.1 kB / 0.8997 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.011, allocations: 31.8 kB / 0.8997 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.01103, allocations: 15.98 kB / 0.8997 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.01108, allocations: 12 kB / 0.8997 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.01114, allocations: 31.84 kB / 0.8998 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.01116, allocations: 23.92 kB / 0.8998 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.099e-05/0.01125, allocations: 205.1 kB / 0.9 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.01125, allocations: 0 / 0.9 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002165/0.01147, allocations: 87.62 kB / 0.9001 GB, free: 14.7 MB / 0.8698 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.000104/0.01157, allocations: 111.1 kB / 0.9002 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.01174, allocations: 129.7 kB / 0.9003 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01174, allocations: 0 / 0.9003 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 7.052e-05/0.01181, allocations: 72.47 kB / 0.9004 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.01204, allocations: 48.67 kB / 0.9004 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.0128, allocations: 0.7611 MB / 0.9011 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.019e-05/0.01288, allocations: 124.2 kB / 0.9013 GB, free: 13.31 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.398e-05/0.01294, allocations: 30.28 kB / 0.9013 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.842e-05/0.01304, allocations: 106.2 kB / 0.9014 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/0.01304, allocations: 0 / 0.9014 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of Templates: time 0.004514/0.01755, allocations: 2.043 MB / 0.9034 GB, free: 11.18 MB / 0.8698 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.182963968720287]