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.0007438/0.0007438, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.001125/0.001125, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8723/0.8723, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.684/1.684, allocations: 377.9 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 0.9809 GB, free: 2.609 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.933e-05/2.244e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue): time 0.001433/0.001456, allocations: 0.8552 MB / 0.9818 GB, free: 1.75 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002548/0.001711, allocations: 95.64 kB / 0.9819 GB, free: 1.656 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.001786, allocations: 4 kB / 0.9819 GB, free: 1.652 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.001896, allocations: 15.8 kB / 0.9819 GB, free: 1.637 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.0001249/0.002021, allocations: 27.73 kB / 0.9819 GB, free: 1.609 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.69e-05/0.002088, allocations: 39.95 kB / 0.9819 GB, free: 1.57 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/0.00229, allocations: 255.4 kB / 0.9822 GB, free: 1.32 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.002521, allocations: 170.9 kB / 0.9824 GB, free: 1.148 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.002794, allocations: 191.6 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.002925, allocations: 127.6 kB / 0.9827 GB, free: 0.8359 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 4.255e-05/0.002968, allocations: 36 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.002995, allocations: 32 kB / 0.9827 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 5.837e-05/0.003053, allocations: 83.75 kB / 0.9828 GB, free: 0.6875 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 6.607e-05/0.003119, allocations: 91.7 kB / 0.9829 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.003444, allocations: 462.5 kB / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.003449, allocations: 0 / 0.9833 GB, free: 148 kB / 0.9323 GB Notification: Performance of FrontEnd: time 2.144e-06/0.003452, allocations: 7.938 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.00346, allocations: 0 / 0.9833 GB, free: 140 kB / 0.9323 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.0005257/0.003986, allocations: 0.5285 MB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.004025, allocations: 8.031 kB / 0.9839 GB, free: 15.57 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.208e-05/0.004077, allocations: 70.72 kB / 0.9839 GB, free: 15.49 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.004122, allocations: 40.7 kB / 0.984 GB, free: 15.45 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.004421, allocations: 274.4 kB / 0.9842 GB, free: 15.16 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/0.004468, allocations: 41.02 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.004497, allocations: 32.38 kB / 0.9843 GB, free: 15.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.004901, allocations: 396.2 kB / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.004914, allocations: 192 / 0.9847 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.004936, allocations: 16.38 kB / 0.9847 GB, free: 14.67 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.004944, allocations: 20.06 kB / 0.9847 GB, free: 14.65 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.005239, allocations: 303.5 kB / 0.985 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009429/0.006182, allocations: 0.958 MB / 0.9859 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.006291, allocations: 81.22 kB / 0.986 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.006336, allocations: 49.78 kB / 0.9861 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.006355, allocations: 3.938 kB / 0.9861 GB, free: 13.19 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.006376, allocations: 38.56 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of pre-optimization done (n=6): time 3.076e-06/0.006379, allocations: 3.984 kB / 0.9861 GB, free: 13.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=6): time 0.0002454/0.006625, allocations: 169.3 kB / 0.9863 GB, free: 12.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.006661, allocations: 81.11 kB / 0.9863 GB, free: 12.87 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.007034, allocations: 0.5169 MB / 0.9869 GB, free: 12.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.007046, allocations: 25.7 kB / 0.9869 GB, free: 12.31 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.007151, allocations: 211.7 kB / 0.9871 GB, free: 12.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.105e-05/0.007162, allocations: 11.91 kB / 0.9871 GB, free: 12.09 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-05/0.007217, allocations: 57.62 kB / 0.9871 GB, free: 12.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.719e-05/0.007304, allocations: 346.8 kB / 0.9875 GB, free: 11.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.391e-05/0.007378, allocations: 63.95 kB / 0.9875 GB, free: 11.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.878e-05/0.007457, allocations: 88.64 kB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.007565, allocations: 121.6 kB / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007567, allocations: 0 / 0.9877 GB, free: 11.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001946/0.007762, allocations: 213.2 kB / 0.9879 GB, free: 11.19 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.00778, allocations: 11.98 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.007786, allocations: 0 / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.007799, allocations: 0 / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.007907, allocations: 28 kB / 0.988 GB, free: 11.15 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.007915, allocations: 3.984 kB / 0.988 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.007967, allocations: 39.61 kB / 0.988 GB, free: 11.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.007983, allocations: 8 kB / 0.988 GB, free: 11.1 MB / 0.948 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.0001435/0.008127, allocations: 203.7 kB / 0.9882 GB, free: 10.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.637e-05/0.008163, allocations: 31.77 kB / 0.9883 GB, free: 10.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.008324, allocations: 118.1 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.008327, allocations: 3.984 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.008332, allocations: 0 / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.008337, allocations: 3.938 kB / 0.9884 GB, free: 10.73 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003885/0.008725, allocations: 0.605 MB / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.008727, allocations: 0 / 0.989 GB, free: 10.06 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.125e-05/0.008748, allocations: 7.938 kB / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.008752, allocations: 3.938 kB / 0.989 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.008759, allocations: 4 kB / 0.989 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.008761, allocations: 0 / 0.989 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.008763, allocations: 0 / 0.989 GB, free: 10.04 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.326e-05/0.008856, allocations: 127.5 kB / 0.9891 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.761e-05/0.008904, allocations: 51.7 kB / 0.9891 GB, free: 9.84 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.114e-05/0.008925, allocations: 7.984 kB / 0.9892 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.451e-05/0.008959, allocations: 8.094 kB / 0.9892 GB, free: 9.824 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.008979, allocations: 7.938 kB / 0.9892 GB, free: 9.816 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.008981, allocations: 0 / 0.9892 GB, free: 9.816 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004262/0.009407, allocations: 391 kB / 0.9895 GB, free: 9.438 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.009407, allocations: 0 / 0.9895 GB, free: 9.438 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001694/0.009577, allocations: 43.89 kB / 0.9896 GB, free: 9.395 MB / 0.948 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.0002784/0.009855, allocations: 0.6738 MB / 0.9902 GB, free: 8.684 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001541/0.01001, allocations: 107.8 kB / 0.9903 GB, free: 8.578 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01001, allocations: 4 kB / 0.9903 GB, free: 8.574 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 1.786e-05/0.01003, allocations: 19.92 kB / 0.9904 GB, free: 8.555 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002007/0.01023, allocations: 28.28 kB / 0.9904 GB, free: 8.531 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.01242, allocations: 2.914 MB / 0.9932 GB, free: 5.508 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.01253, allocations: 187.8 kB / 0.9934 GB, free: 5.309 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.383e-05/0.0126, allocations: 54.94 kB / 0.9935 GB, free: 5.254 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.721e-05/0.0127, allocations: 92.47 kB / 0.9936 GB, free: 5.164 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/0.0127, allocations: 0 / 0.9936 GB, free: 5.164 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.03148, allocations: 6.458 MB / 0.9999 GB, free: 14.86 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.639, allocations: 10.84 kB / 0.9999 GB, free: 14.86 MB / 0.9636 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_CountTrue.csv","/var/lib/jenkins/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] "Error: Could not read variable couTru.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTru.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! Error: Could not read variable couTruAllFal.y in file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv. Warning: Get data of variable couTruAllFal.y from file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.CountTrue_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.577317346818745]