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.001414/0.001414, allocations: 101.4 kB / 16.45 MB, free: 6.5 MB / 14.72 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.001531/0.001531, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.291/3.291, allocations: 0.49 GB / 0.7916 GB, free: 33.44 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.16 kB / 1.149 GB, free: 26.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3376, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002158/0.3398, allocations: 0.87 MB / 1.322 GB, free: 2.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000257/0.3401, allocations: 91.64 kB / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.352e-05/0.3401, allocations: 0 / 1.322 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.3403, allocations: 27.73 kB / 1.322 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001221/0.3404, allocations: 15.86 kB / 1.322 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.148e-05/0.3405, allocations: 39.97 kB / 1.322 GB, free: 2.332 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.3408, allocations: 251.5 kB / 1.322 GB, free: 2.086 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003894/0.3412, allocations: 238.6 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.3413, allocations: 131.5 kB / 1.322 GB, free: 1.715 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.3415, allocations: 143.3 kB / 1.323 GB, free: 1.574 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.3415, allocations: 32 kB / 1.323 GB, free: 1.543 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.551e-05/0.3416, allocations: 32 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.3417, allocations: 91.7 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.3418, allocations: 159.1 kB / 1.323 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.3423, allocations: 462 kB / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3423, allocations: 0 / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3423, allocations: 0 / 1.323 GB, free: 0.8125 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.3423, allocations: 0 / 1.323 GB, free: 0.8125 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.000753/0.3431, allocations: 0.5999 MB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3431, allocations: 15.98 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.44e-05/0.3432, allocations: 74.72 kB / 1.324 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.3433, allocations: 48.59 kB / 1.324 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004383/0.3437, allocations: 328.3 kB / 1.324 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/0.3438, allocations: 37.02 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.3438, allocations: 32.38 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006446/0.3445, allocations: 400.2 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3445, allocations: 3.938 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.3445, allocations: 15.98 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.3445, allocations: 8 kB / 1.325 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005108/0.345, allocations: 311.3 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/0.3465, allocations: 1.054 MB / 1.326 GB, free: 13.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3467, allocations: 85.22 kB / 1.326 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.01e-05/0.3468, allocations: 45.73 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.3468, allocations: 4 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3468, allocations: 38.55 kB / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3468, allocations: 0 / 1.326 GB, free: 13.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0003588/0.3472, allocations: 173.2 kB / 1.326 GB, free: 13.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.3472, allocations: 77.11 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000613/0.3479, allocations: 0.5092 MB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3479, allocations: 25.7 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.3481, allocations: 219.7 kB / 1.327 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.3481, allocations: 11.91 kB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.42e-05/0.3482, allocations: 49.7 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001881/0.3484, allocations: 350.8 kB / 1.328 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3485, allocations: 63.95 kB / 1.328 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001279/0.3486, allocations: 89.56 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.3488, allocations: 117.6 kB / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3488, allocations: 0 / 1.328 GB, free: 11.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003291/0.3491, allocations: 217.3 kB / 1.328 GB, free: 11.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3491, allocations: 10.19 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3491, allocations: 0 / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3491, allocations: 3.938 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3493, allocations: 27.98 kB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3493, allocations: 0 / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.619e-05/0.3494, allocations: 43.67 kB / 1.328 GB, free: 11.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.3494, allocations: 4 kB / 1.328 GB, free: 11.5 MB / 1.029 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.0002229/0.3496, allocations: 211.8 kB / 1.328 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.642e-05/0.3497, allocations: 35.77 kB / 1.328 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.35, allocations: 114 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.35, allocations: 3.938 kB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.716e-06/0.35, allocations: 0 / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.35, allocations: 0 / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006404/0.3506, allocations: 0.6604 MB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.3506, allocations: 0 / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.3506, allocations: 4 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3506, allocations: 0 / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.3506, allocations: 4 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3506, allocations: 4.125 kB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3506, allocations: 3.984 kB / 1.329 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.3508, allocations: 135.3 kB / 1.329 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3509, allocations: 128.8 kB / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.3509, allocations: 0 / 1.329 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.351, allocations: 8 kB / 1.329 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.351, allocations: 7.984 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.351, allocations: 0 / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005032/0.3515, allocations: 391 kB / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3515, allocations: 3.938 kB / 1.33 GB, free: 9.676 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002424/0.3518, allocations: 36 kB / 1.33 GB, free: 9.641 MB / 1.029 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.0005168/0.3523, allocations: 0.6732 MB / 1.331 GB, free: 8.926 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.3525, allocations: 104.2 kB / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.3525, allocations: 0 / 1.331 GB, free: 8.824 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.859e-05/0.3526, allocations: 19.94 kB / 1.331 GB, free: 8.805 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.3528, allocations: 39.05 kB / 1.331 GB, free: 8.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003475/0.3563, allocations: 2.902 MB / 1.334 GB, free: 5.762 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.3568, allocations: 0.7868 MB / 1.334 GB, free: 4.949 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001169/0.3569, allocations: 62.92 kB / 1.334 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.357, allocations: 91.41 kB / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.357, allocations: 0 / 1.334 GB, free: 4.801 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03071/0.3878, allocations: 5.686 MB / 1.34 GB, free: 15.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.517/8.905, allocations: 8.047 kB / 1.34 GB, free: 15.26 MB / 1.045 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 15.658193479990587]