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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 114.7 kB / 17.6 MB, free: 4.668 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.00139/0.00139, allocations: 189.9 kB / 20.78 MB, free: 1.5 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.428/1.428, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.813/2.813, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 67.88 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9404, allocations: 168.7 MB / 1.271 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.002014/0.9424, allocations: 0.8757 MB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0002491/0.9426, allocations: 87.92 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.9427, allocations: 3.281 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.9428, allocations: 22.81 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.943, allocations: 14.31 kB / 1.272 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.147e-05/0.943, allocations: 39.39 kB / 1.273 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.9433, allocations: 257.2 kB / 1.273 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.9436, allocations: 182.3 kB / 1.273 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001161/0.9437, allocations: 128.5 kB / 1.273 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.9439, allocations: 147.8 kB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.9439, allocations: 37.19 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.864e-05/0.944, allocations: 32.06 kB / 1.273 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.465e-05/0.9441, allocations: 84.2 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001035/0.9442, allocations: 154.2 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.9445, allocations: 461.6 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.9445, allocations: 0 / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/0.9445, allocations: 2.297 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.9445, allocations: 0.875 kB / 1.274 GB, free: 6.332 MB / 0.9981 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.0005861/0.9451, allocations: 0.5998 MB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.9452, allocations: 9.938 kB / 1.275 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.154e-05/0.9452, allocations: 74.75 kB / 1.275 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.9453, allocations: 43.97 kB / 1.275 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.9456, allocations: 339.6 kB / 1.275 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.456e-05/0.9457, allocations: 34.62 kB / 1.275 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/0.9458, allocations: 33.16 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005979/0.9463, allocations: 403.5 kB / 1.275 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9464, allocations: 3.938 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.9464, allocations: 15.47 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.9464, allocations: 7.781 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004578/0.9469, allocations: 301.9 kB / 1.276 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.9481, allocations: 1.055 MB / 1.277 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.9482, allocations: 92.83 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.9483, allocations: 44.81 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.9483, allocations: 0.8125 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.9483, allocations: 32.31 kB / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.9483, allocations: 0 / 1.277 GB, free: 4.352 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0003188/0.9486, allocations: 176 kB / 1.277 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.9487, allocations: 86.8 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.9492, allocations: 0.5078 MB / 1.278 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.9492, allocations: 26.58 kB / 1.278 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.9493, allocations: 211.3 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.9493, allocations: 10.64 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-05/0.9494, allocations: 57.52 kB / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.891e-05/0.9495, allocations: 347.8 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.9496, allocations: 65.12 kB / 1.278 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.9497, allocations: 88.67 kB / 1.278 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.9498, allocations: 118.1 kB / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.9498, allocations: 0 / 1.279 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002883/0.9501, allocations: 206.2 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9501, allocations: 5.469 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.9501, allocations: 1.594 kB / 1.279 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.9501, allocations: 4.844 kB / 1.279 GB, free: 3.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.9503, allocations: 29.83 kB / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9503, allocations: 2.219 kB / 1.279 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.684e-05/0.9504, allocations: 49.66 kB / 1.279 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.9504, allocations: 5.891 kB / 1.279 GB, free: 3.082 MB / 0.9981 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.0001699/0.9506, allocations: 197.3 kB / 1.279 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.9506, allocations: 30.77 kB / 1.279 GB, free: 2.922 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.9508, allocations: 123 kB / 1.279 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.9508, allocations: 5.062 kB / 1.279 GB, free: 2.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.9508, allocations: 4.656 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9508, allocations: 1.172 kB / 1.279 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.9513, allocations: 0.6527 MB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.9513, allocations: 1.156 kB / 1.28 GB, free: 2.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.9513, allocations: 8.656 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9513, allocations: 1.438 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.9513, allocations: 2.25 kB / 1.28 GB, free: 2.266 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.9513, allocations: 4.969 kB / 1.28 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.9513, allocations: 6.281 kB / 1.28 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.9515, allocations: 129.6 kB / 1.28 GB, free: 2.137 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.9515, allocations: 128.5 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.9516, allocations: 2.094 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.804e-05/0.9516, allocations: 3.766 kB / 1.28 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.185e-05/0.9517, allocations: 8.547 kB / 1.28 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.9517, allocations: 1.312 kB / 1.28 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004379/0.9521, allocations: 390.5 kB / 1.28 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9521, allocations: 0.9688 kB / 1.28 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002657/0.9524, allocations: 48.73 kB / 1.281 GB, free: 1.82 MB / 0.9981 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.0002967/0.9527, allocations: 0.6693 MB / 1.281 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.9529, allocations: 107.4 kB / 1.281 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9529, allocations: 0 / 1.281 GB, free: 1.129 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.352e-05/0.9529, allocations: 14.08 kB / 1.281 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.9532, allocations: 35.02 kB / 1.281 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.9561, allocations: 2.918 MB / 1.284 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004262/0.9566, allocations: 0.7905 MB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.9567, allocations: 57.8 kB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001481/0.9568, allocations: 94.09 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.9568, allocations: 0 / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03007/0.9869, allocations: 5.663 MB / 1.291 GB, free: 13.88 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/9.119, allocations: 9.312 kB / 1.291 GB, free: 13.87 MB / 1.014 GB " [Timeout remaining time 291] (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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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.197237211978063]