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.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.0007755/0.0007755, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007915/0.0007915, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9268/0.9268, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 2.925e-06/2.925e-06, allocations: 0 / 0.9505 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.348e-05, allocations: 2.281 kB / 0.9505 GB, free: 2.379 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001516/0.00154, allocations: 0.8365 MB / 0.9513 GB, free: 1.535 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.001787, allocations: 91.64 kB / 0.9514 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.001877, allocations: 0 / 0.9514 GB, free: 1.445 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.001996, allocations: 23.78 kB / 0.9514 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.002131, allocations: 23.73 kB / 0.9514 GB, free: 1.398 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 6.899e-05/0.0022, allocations: 43.95 kB / 0.9515 GB, free: 1.355 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0002053/0.002405, allocations: 251.4 kB / 0.9517 GB, free: 1.109 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002294/0.002634, allocations: 174.9 kB / 0.9519 GB, free: 0.9375 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.00277, allocations: 191.6 kB / 0.9521 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.0029, allocations: 115.7 kB / 0.9522 GB, free: 0.6367 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.316e-05/0.002954, allocations: 40 kB / 0.9522 GB, free: 0.5977 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 2.781e-05/0.002981, allocations: 32 kB / 0.9522 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 7.158e-05/0.003053, allocations: 95.61 kB / 0.9523 GB, free: 484 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.00313, allocations: 91.69 kB / 0.9524 GB, free: 392 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003326/0.003463, allocations: 462.5 kB / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.003465, allocations: 0 / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/0.003467, allocations: 0 / 0.9529 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.003473, allocations: 4 kB / 0.9529 GB, free: 15.93 MB / 0.8698 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.0005205/0.003993, allocations: 0.5284 MB / 0.9534 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.004033, allocations: 8.031 kB / 0.9534 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.004086, allocations: 70.72 kB / 0.9535 GB, free: 15.28 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.004134, allocations: 44.7 kB / 0.9535 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.004441, allocations: 277.7 kB / 0.9538 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.004488, allocations: 33.03 kB / 0.9538 GB, free: 14.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.004518, allocations: 32.38 kB / 0.9538 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.00493, allocations: 408 kB / 0.9542 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.00494, allocations: 192 / 0.9542 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.004961, allocations: 16.36 kB / 0.9542 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.00497, allocations: 12.12 kB / 0.9542 GB, free: 14.43 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.005272, allocations: 299.6 kB / 0.9545 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.006255, allocations: 0.9693 MB / 0.9555 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.006374, allocations: 85.22 kB / 0.9556 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.006421, allocations: 45.8 kB / 0.9556 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.006443, allocations: 0 / 0.9556 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.006467, allocations: 42.48 kB / 0.9556 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006468, allocations: 0 / 0.9556 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6): time 0.000258/0.006726, allocations: 165.3 kB / 0.9558 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.006764, allocations: 81.11 kB / 0.9559 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/0.007205, allocations: 0.513 MB / 0.9564 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.104e-05/0.007216, allocations: 33.7 kB / 0.9564 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.00732, allocations: 207.7 kB / 0.9566 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.688e-06/0.00733, allocations: 15.91 kB / 0.9566 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.764e-05/0.007388, allocations: 53.7 kB / 0.9567 GB, free: 11.81 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.007477, allocations: 342.8 kB / 0.957 GB, free: 11.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.00755, allocations: 67.95 kB / 0.9571 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.007629, allocations: 89.66 kB / 0.9572 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.007742, allocations: 121.5 kB / 0.9573 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.007746, allocations: 4 kB / 0.9573 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001896/0.007935, allocations: 209.3 kB / 0.9575 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.007952, allocations: 10.81 kB / 0.9575 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.007958, allocations: 4 kB / 0.9575 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.00797, allocations: 0 / 0.9575 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.008083, allocations: 31.92 kB / 0.9575 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.008089, allocations: 0 / 0.9575 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.165e-05/0.00814, allocations: 43.61 kB / 0.9576 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.008154, allocations: 4 kB / 0.9576 GB, free: 10.88 MB / 0.8698 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.0001405/0.008294, allocations: 203.7 kB / 0.9578 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.616e-05/0.008331, allocations: 36.14 kB / 0.9578 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.008489, allocations: 114.1 kB / 0.9579 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008492, allocations: 0 / 0.9579 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.008499, allocations: 3.984 kB / 0.9579 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.008504, allocations: 3.938 kB / 0.9579 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.008886, allocations: 0.6048 MB / 0.9585 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.008888, allocations: 192 / 0.9585 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.729e-05/0.008905, allocations: 8.172 kB / 0.9585 GB, free: 9.824 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.008909, allocations: 11.88 kB / 0.9585 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.008916, allocations: 4 kB / 0.9585 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.008919, allocations: 3.938 kB / 0.9585 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.00892, allocations: 0 / 0.9585 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.838e-05/0.009008, allocations: 127.5 kB / 0.9586 GB, free: 9.652 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.458e-05/0.009053, allocations: 51.69 kB / 0.9587 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.009071, allocations: 0 / 0.9587 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.237e-05/0.009103, allocations: 4 kB / 0.9587 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.338e-05/0.009126, allocations: 11.94 kB / 0.9587 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.009131, allocations: 3.984 kB / 0.9587 GB, free: 9.582 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002615/0.009392, allocations: 391 kB / 0.9591 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.009392, allocations: 0 / 0.9591 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001623/0.009555, allocations: 39.94 kB / 0.9591 GB, free: 9.168 MB / 0.8698 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.0002863/0.009841, allocations: 0.6655 MB / 0.9598 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.00999, allocations: 107.8 kB / 0.9599 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009992, allocations: 0 / 0.9599 GB, free: 8.359 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.628e-05/0.01001, allocations: 12.19 kB / 0.9599 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.0102, allocations: 37.66 kB / 0.9599 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/0.01234, allocations: 2.91 MB / 0.9628 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01246, allocations: 183.5 kB / 0.9629 GB, free: 5.094 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.929e-05/0.01254, allocations: 62.92 kB / 0.963 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.01275, allocations: 96.41 kB / 0.9631 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of SimCode: time 9.12e-07/0.01275, allocations: 384 / 0.9631 GB, free: 4.934 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01954/0.03229, allocations: 6.457 MB / 0.9694 GB, free: 14.64 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.207, allocations: 8 kB / 0.9694 GB, free: 14.63 MB / 0.8855 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable couTru.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.282167890109122]