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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.175/3.175, allocations: 497.2 MB / 0.7811 GB, free: 33.7 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 69.03 kB / 1.134 GB, free: 33.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.311, allocations: 173.9 MB / 1.304 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002316/0.3133, allocations: 0.8693 MB / 1.305 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003112/0.3136, allocations: 87.7 kB / 1.305 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3137, allocations: 4 kB / 1.305 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.3139, allocations: 19.73 kB / 1.305 GB, free: 0.5938 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.314, allocations: 19.86 kB / 1.305 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 8.298e-05/0.3141, allocations: 39.97 kB / 1.305 GB, free: 0.5352 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.3144, allocations: 255.5 kB / 1.305 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.3148, allocations: 230.6 kB / 1.305 GB, free: 56 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.315, allocations: 135.4 kB / 1.306 GB, free: 15.92 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.3151, allocations: 139.3 kB / 1.306 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.3152, allocations: 36 kB / 1.306 GB, free: 15.75 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.76e-05/0.3153, allocations: 36 kB / 1.306 GB, free: 15.71 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.078e-05/0.3153, allocations: 79.78 kB / 1.306 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.3155, allocations: 159.1 kB / 1.306 GB, free: 15.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005352/0.3161, allocations: 462 kB / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3161, allocations: 0 / 1.306 GB, free: 15.03 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3161, allocations: 7.875 kB / 1.306 GB, free: 15.02 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.052e-05/0.3161, allocations: 0 / 1.306 GB, free: 15.02 MB / 1.014 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.0009139/0.317, allocations: 0.6038 MB / 1.307 GB, free: 14.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.3171, allocations: 8.922 kB / 1.307 GB, free: 14.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.596e-05/0.3171, allocations: 70.72 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.3e-05/0.3172, allocations: 56.59 kB / 1.307 GB, free: 14.22 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/0.3177, allocations: 324.4 kB / 1.307 GB, free: 13.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.3178, allocations: 37.02 kB / 1.307 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.786e-05/0.3178, allocations: 32.38 kB / 1.308 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000643/0.3185, allocations: 400.2 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.3185, allocations: 3.938 kB / 1.308 GB, free: 13.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.3185, allocations: 12 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.3185, allocations: 12 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.3191, allocations: 307.3 kB / 1.308 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001606/0.3207, allocations: 1.054 MB / 1.309 GB, free: 11.96 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.3208, allocations: 93.16 kB / 1.309 GB, free: 11.85 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.459e-05/0.3209, allocations: 45.78 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.3209, allocations: 4 kB / 1.309 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/0.3209, allocations: 34.56 kB / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.3209, allocations: 0 / 1.309 GB, free: 11.75 MB / 1.014 GB Notification: Performance of matching and sorting (n=6): time 0.0003729/0.3213, allocations: 169.3 kB / 1.31 GB, free: 11.58 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.123e-05/0.3214, allocations: 77.11 kB / 1.31 GB, free: 11.48 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/0.3222, allocations: 0.5092 MB / 1.31 GB, free: 10.97 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3223, allocations: 25.7 kB / 1.31 GB, free: 10.94 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.3225, allocations: 215.7 kB / 1.31 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.572e-05/0.3225, allocations: 11.91 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.724e-05/0.3226, allocations: 53.69 kB / 1.31 GB, free: 10.65 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3228, allocations: 346.8 kB / 1.311 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.3229, allocations: 63.95 kB / 1.311 GB, free: 10.24 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.323, allocations: 95.17 kB / 1.311 GB, free: 10.14 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001741/0.3232, allocations: 113.6 kB / 1.311 GB, free: 10.03 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3232, allocations: 0 / 1.311 GB, free: 10.03 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004543/0.3236, allocations: 217.2 kB / 1.311 GB, free: 9.809 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.3237, allocations: 4 kB / 1.311 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3237, allocations: 0 / 1.311 GB, free: 9.805 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3237, allocations: 7.938 kB / 1.311 GB, free: 9.797 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3238, allocations: 31.98 kB / 1.311 GB, free: 9.766 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.3239, allocations: 3.938 kB / 1.311 GB, free: 9.762 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.083e-05/0.3239, allocations: 31.67 kB / 1.311 GB, free: 9.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.904e-05/0.324, allocations: 12 kB / 1.311 GB, free: 9.719 MB / 1.014 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.0002138/0.3242, allocations: 199.5 kB / 1.312 GB, free: 9.516 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.3243, allocations: 39.75 kB / 1.312 GB, free: 9.477 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002213/0.3245, allocations: 114 kB / 1.312 GB, free: 9.355 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3245, allocations: 11.94 kB / 1.312 GB, free: 9.344 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.3245, allocations: 4 kB / 1.312 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3245, allocations: 0 / 1.312 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.3251, allocations: 0.6447 MB / 1.312 GB, free: 8.625 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3251, allocations: 4 kB / 1.312 GB, free: 8.621 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.674e-05/0.3252, allocations: 11.98 kB / 1.312 GB, free: 8.609 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.3252, allocations: 4.125 kB / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.3252, allocations: 0 / 1.312 GB, free: 8.605 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3252, allocations: 4 kB / 1.312 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3252, allocations: 4.562 kB / 1.312 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3253, allocations: 135.3 kB / 1.312 GB, free: 8.438 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3255, allocations: 128.8 kB / 1.313 GB, free: 8.293 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.22e-05/0.3255, allocations: 7.953 kB / 1.313 GB, free: 8.285 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.104e-05/0.3255, allocations: 4 kB / 1.313 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.3256, allocations: 0 / 1.313 GB, free: 8.281 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.3256, allocations: 8 kB / 1.313 GB, free: 8.273 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000452/0.326, allocations: 387 kB / 1.313 GB, free: 7.895 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.326, allocations: 0 / 1.313 GB, free: 7.895 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002455/0.3263, allocations: 36 kB / 1.313 GB, free: 7.859 MB / 1.014 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.0005339/0.3268, allocations: 0.6849 MB / 1.314 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.327, allocations: 103.9 kB / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.327, allocations: 0 / 1.314 GB, free: 7.031 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.319e-05/0.3271, allocations: 19.94 kB / 1.314 GB, free: 7.012 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.3273, allocations: 25.56 kB / 1.314 GB, free: 6.988 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.331, allocations: 2.911 MB / 1.317 GB, free: 3.973 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000472/0.3315, allocations: 0.7909 MB / 1.317 GB, free: 3.156 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001206/0.3316, allocations: 54.94 kB / 1.318 GB, free: 3.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/0.3317, allocations: 95.41 kB / 1.318 GB, free: 3.016 MB / 1.014 GB Notification: Performance of SimCode: time 8.42e-07/0.3317, allocations: 0 / 1.318 GB, free: 3.016 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.3634, allocations: 5.682 MB / 1.323 GB, free: 13.49 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.118/8.482, allocations: 6.328 kB / 1.323 GB, free: 13.49 MB / 1.029 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 14.971785170026124]