Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 194.4 kB / 16.53 MB, free: 6.699 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.378/1.378, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.576/2.576, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001846, allocations: 67.38 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2464, allocations: 159.2 MB / 1.064 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002059/0.2485, allocations: 0.857 MB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000237/0.2487, allocations: 95.62 kB / 1.065 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.627e-05/0.2488, allocations: 7.938 kB / 1.065 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.2489, allocations: 19.78 kB / 1.065 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.249, allocations: 15.88 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.369e-05/0.2491, allocations: 39.95 kB / 1.065 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.2494, allocations: 247.5 kB / 1.065 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003763/0.2498, allocations: 302.2 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.2499, allocations: 127.6 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.2501, allocations: 143.3 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.2501, allocations: 32 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.406e-05/0.2502, allocations: 32 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.829e-05/0.2503, allocations: 95.69 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.2504, allocations: 151.1 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003691/0.2508, allocations: 434.6 kB / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2508, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2508, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.2508, allocations: 3.938 kB / 1.067 GB, free: 11.64 MB / 0.8262 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.0006424/0.2514, allocations: 0.5928 MB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.2515, allocations: 12.03 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.744e-05/0.2516, allocations: 74.72 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.2516, allocations: 44.41 kB / 1.067 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003762/0.252, allocations: 332.1 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.2521, allocations: 37.02 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.2521, allocations: 28.38 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.2527, allocations: 404.2 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2527, allocations: 7.875 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.2528, allocations: 16 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.2528, allocations: 8 kB / 1.068 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.2532, allocations: 303.6 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.2545, allocations: 1.045 MB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.2547, allocations: 93.16 kB / 1.069 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.212e-05/0.2547, allocations: 49.78 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.2548, allocations: 4 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.2548, allocations: 30.56 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.2548, allocations: 0 / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0003047/0.2551, allocations: 169.1 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.2552, allocations: 85.09 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005478/0.2557, allocations: 0.5052 MB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2557, allocations: 29.7 kB / 1.07 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.2559, allocations: 207.5 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.2559, allocations: 15.8 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.37e-05/0.256, allocations: 53.7 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2562, allocations: 346.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.2563, allocations: 67.89 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.2564, allocations: 87.08 kB / 1.071 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2566, allocations: 117.6 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2566, allocations: 3.938 kB / 1.071 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002917/0.2569, allocations: 213.1 kB / 1.071 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.2569, allocations: 4 kB / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2569, allocations: 0 / 1.071 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2569, allocations: 7.938 kB / 1.071 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.257, allocations: 28.3 kB / 1.071 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.2571, allocations: 4 kB / 1.071 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.499e-05/0.2571, allocations: 35.53 kB / 1.071 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.2572, allocations: 12 kB / 1.071 GB, free: 6.359 MB / 0.8262 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.0001876/0.2573, allocations: 199.5 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.2574, allocations: 31.62 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.2576, allocations: 114 kB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2576, allocations: 7.875 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.2577, allocations: 8.062 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.2577, allocations: 0 / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.2582, allocations: 0.6486 MB / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.2582, allocations: 0 / 1.072 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.2582, allocations: 7.984 kB / 1.072 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.2583, allocations: 4.125 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2583, allocations: 8 kB / 1.072 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2583, allocations: 4 kB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2583, allocations: 4 kB / 1.072 GB, free: 5.234 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.2584, allocations: 131.3 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.624e-05/0.2585, allocations: 124.7 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.2586, allocations: 7.938 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.869e-05/0.2586, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.2586, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.2587, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004142/0.2591, allocations: 387 kB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2591, allocations: 0 / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002319/0.2593, allocations: 43.91 kB / 1.073 GB, free: 4.5 MB / 0.8262 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.0004312/0.2597, allocations: 0.6692 MB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.26, allocations: 107.9 kB / 1.074 GB, free: 3.684 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.26, allocations: 4 kB / 1.074 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.471e-05/0.26, allocations: 15.94 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.2602, allocations: 29.56 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2633, allocations: 2.92 MB / 1.077 GB, free: 0.6133 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.2637, allocations: 0.787 MB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001012/0.2638, allocations: 54.94 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2639, allocations: 95.41 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2639, allocations: 0 / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.964/1.228, allocations: 5.562 MB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/14.29, allocations: 7.875 kB / 1.083 GB, free: 10.22 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches