Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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.0007715/0.0007715, 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.0007653/0.0007653, allocations: 165.9 kB / 22.46 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.8613/0.8613, 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 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.646/1.646, allocations: 377.8 MB / 0.6221 GB, free: 8.664 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.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.057e-06/4.057e-06, allocations: 3.984 kB / 0.9809 GB, free: 2.621 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.622e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001221/0.001247, allocations: 0.618 MB / 0.9815 GB, free: 1.996 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.001379, allocations: 7.938 kB / 0.9816 GB, free: 1.988 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.001428, allocations: 8 kB / 0.9816 GB, free: 1.98 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 8.667e-05/0.001515, allocations: 3.938 kB / 0.9816 GB, free: 1.977 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.02e-05/0.001545, allocations: 3.984 kB / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.478e-05/0.00161, allocations: 0 / 0.9816 GB, free: 1.973 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.001691, allocations: 31.91 kB / 0.9816 GB, free: 1.941 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.001802, allocations: 19.92 kB / 0.9816 GB, free: 1.922 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.001835, allocations: 19.98 kB / 0.9816 GB, free: 1.902 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.917e-05/0.001865, allocations: 15.92 kB / 0.9817 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.998e-05/0.001885, allocations: 4 kB / 0.9817 GB, free: 1.883 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-06/0.001894, allocations: 4 kB / 0.9817 GB, free: 1.879 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.618e-05/0.00192, allocations: 3.984 kB / 0.9817 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.001945, allocations: 19.94 kB / 0.9817 GB, free: 1.855 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 8.226e-05/0.002027, allocations: 43.86 kB / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002029, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.132e-06/0.00203, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.002033, allocations: 0 / 0.9817 GB, free: 1.812 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002468/0.00228, allocations: 272.1 kB / 0.982 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.002314, allocations: 12.02 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.002343, allocations: 38.75 kB / 0.982 GB, free: 1.457 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.986e-05/0.002363, allocations: 12.89 kB / 0.982 GB, free: 1.445 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.002501, allocations: 117.7 kB / 0.9822 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.00251, allocations: 8.375 kB / 0.9822 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.365e-06/0.002518, allocations: 4.375 kB / 0.9822 GB, free: 1.293 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.002633, allocations: 74.23 kB / 0.9822 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.002639, allocations: 192 / 0.9822 GB, free: 1.215 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.246e-06/0.002647, allocations: 4.375 kB / 0.9822 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.002653, allocations: 8.062 kB / 0.9823 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.443e-05/0.002708, allocations: 51.95 kB / 0.9823 GB, free: 1.152 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.003051, allocations: 454.2 kB / 0.9827 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.091e-05/0.003112, allocations: 169.1 kB / 0.9829 GB, free: 500 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.003152, allocations: 84.14 kB / 0.983 GB, free: 412 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.003168, allocations: 79.22 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.003197, allocations: 109.8 kB / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.003197, allocations: 0 / 0.9832 GB, free: 212 kB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 4.978e-05/0.003247, allocations: 29.7 kB / 0.9832 GB, free: 176 kB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.003285, allocations: 130.7 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.003444, allocations: 177.6 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.003453, allocations: 29.69 kB / 0.9835 GB, free: 15.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.003491, allocations: 92.14 kB / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.003494, allocations: 0 / 0.9836 GB, free: 15.71 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.003519, allocations: 13.72 kB / 0.9836 GB, free: 15.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.003591, allocations: 322.8 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.003603, allocations: 8 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.046e-05/0.003614, allocations: 11.98 kB / 0.9839 GB, free: 15.35 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.847e-05/0.003642, allocations: 16.86 kB / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.003644, allocations: 0 / 0.984 GB, free: 15.33 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.786e-05/0.003731, allocations: 49.62 kB / 0.984 GB, free: 15.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.003742, allocations: 4 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.003747, allocations: 7.984 kB / 0.984 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.003757, allocations: 3.938 kB / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.267e-05/0.00381, allocations: 0 / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.003814, allocations: 96 / 0.984 GB, free: 15.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.711e-05/0.003831, allocations: 19.88 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.003839, allocations: 4 kB / 0.984 GB, free: 15.24 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (mulMin.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001336/0.003973, allocations: 189.2 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/0.004015, allocations: 112.9 kB / 0.9843 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.552e-05/0.00405, allocations: 120.7 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.746e-05/0.004087, allocations: 180.3 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-05/0.004126, allocations: 176.3 kB / 0.9848 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.611e-05/0.004162, allocations: 180.2 kB / 0.985 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.004308, allocations: 400.2 kB / 0.9853 GB, free: 13.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/0.004331, allocations: 104.9 kB / 0.9854 GB, free: 13.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.155e-05/0.004352, allocations: 105.1 kB / 0.9855 GB, free: 13.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-05/0.004389, allocations: 180.3 kB / 0.9857 GB, free: 13.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.004428, allocations: 184.2 kB / 0.9859 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001019/0.00453, allocations: 188.2 kB / 0.9861 GB, free: 13.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.932e-05/0.004569, allocations: 184.2 kB / 0.9862 GB, free: 12.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.012e-05/0.004659, allocations: 303.7 kB / 0.9865 GB, free: 12.53 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.661e-05/0.004696, allocations: 116.9 kB / 0.9866 GB, free: 12.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.842e-05/0.004745, allocations: 180.3 kB / 0.9868 GB, free: 12.22 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.235e-05/0.004797, allocations: 104.9 kB / 0.9869 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.043e-05/0.004837, allocations: 180.3 kB / 0.9871 GB, free: 11.93 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.004857, allocations: 105 kB / 0.9872 GB, free: 11.82 MB / 0.948 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.004925, allocations: 141.8 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.004926, allocations: 3.938 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001483/0.005074, allocations: 4 kB / 0.9873 GB, free: 11.68 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0002499/0.005324, allocations: 0.8092 MB / 0.9881 GB, free: 10.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.851e-05/0.005382, allocations: 15.98 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.005384, allocations: 0 / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.063e-06/0.005386, allocations: 3.938 kB / 0.9881 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.005658, allocations: 459.7 kB / 0.9886 GB, free: 10.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.006534, allocations: 1.492 MB / 0.99 GB, free: 8.789 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.00658, allocations: 75.33 kB / 0.9901 GB, free: 8.695 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.879e-05/0.006598, allocations: 4 kB / 0.9901 GB, free: 8.691 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.006635, allocations: 16.5 kB / 0.9901 GB, free: 8.676 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/0.006635, allocations: 112 / 0.9901 GB, free: 8.676 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01329/0.01993, allocations: 2.247 MB / 0.9923 GB, free: 6.582 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.447/6.467, allocations: 3.938 kB / 0.9923 GB, free: 6.578 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_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_MultiMinInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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: 10.334944969043136]