Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001587/0.001587, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.002268/0.002268, allocations: 216.9 kB / 22.25 MB, free: 5.113 MB / 14.72 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 1.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.2/3.2, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 72.02 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 180.2 MB / 1.353 GB, free: 8.477 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001825/0.3681, allocations: 0.6124 MB / 1.353 GB, free: 7.867 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.3682, allocations: 4 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3683, allocations: 3.938 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.882e-05/0.3684, allocations: 7.938 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.942e-05/0.3684, allocations: 4 kB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.701e-05/0.3685, allocations: 3.984 kB / 1.353 GB, free: 7.844 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.792e-05/0.3686, allocations: 27.92 kB / 1.354 GB, free: 7.816 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.3687, allocations: 28.2 kB / 1.354 GB, free: 7.789 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.141e-05/0.3687, allocations: 15.92 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.691e-05/0.3688, allocations: 15.92 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3688, allocations: 4 kB / 1.354 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.3688, allocations: 4 kB / 1.354 GB, free: 7.75 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.3688, allocations: 8 kB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.3689, allocations: 15.88 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.369, allocations: 47.8 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.369, allocations: 4 kB / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.093e-06/0.369, allocations: 0 / 1.354 GB, free: 7.676 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.369, allocations: 0 / 1.354 GB, free: 7.676 MB / 1.045 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.000401/0.3694, allocations: 278.6 kB / 1.354 GB, free: 7.371 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3695, allocations: 12.03 kB / 1.354 GB, free: 7.359 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.3695, allocations: 34.75 kB / 1.354 GB, free: 7.316 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.031e-05/0.3695, allocations: 8.891 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3697, allocations: 126.4 kB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.3698, allocations: 12.38 kB / 1.354 GB, free: 7.148 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.3698, allocations: 4.375 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.37, allocations: 78.22 kB / 1.354 GB, free: 7.062 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.37, allocations: 3.938 kB / 1.354 GB, free: 7.059 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.37, allocations: 4 kB / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.37, allocations: 0 / 1.354 GB, free: 7.055 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.3701, allocations: 47.91 kB / 1.354 GB, free: 7.008 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.3706, allocations: 462.2 kB / 1.355 GB, free: 6.512 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3707, allocations: 173.1 kB / 1.355 GB, free: 6.332 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.08e-05/0.3708, allocations: 80.14 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.275e-05/0.3708, allocations: 75.28 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.3709, allocations: 109.8 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.3709, allocations: 0 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 8.988e-05/0.371, allocations: 37.66 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.3711, allocations: 138.5 kB / 1.355 GB, free: 5.867 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.3713, allocations: 171.8 kB / 1.355 GB, free: 5.691 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.3713, allocations: 25.81 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.3714, allocations: 92.08 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-06/0.3714, allocations: 0 / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.3714, allocations: 21.67 kB / 1.356 GB, free: 5.539 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.3716, allocations: 314.8 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.3716, allocations: 12 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.3716, allocations: 7.984 kB / 1.356 GB, free: 5.203 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.092e-05/0.3716, allocations: 20.84 kB / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3716, allocations: 0 / 1.356 GB, free: 5.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000126/0.3718, allocations: 45.69 kB / 1.356 GB, free: 5.129 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.3718, allocations: 11.94 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3718, allocations: 0 / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3718, allocations: 0 / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.101e-05/0.3719, allocations: 8.031 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3719, allocations: 4 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.3719, allocations: 11.89 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3719, allocations: 3.984 kB / 1.356 GB, free: 5.09 MB / 1.045 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.0001231/0.372, allocations: 185.1 kB / 1.356 GB, free: 4.898 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.685e-05/0.3721, allocations: 116.9 kB / 1.356 GB, free: 4.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.46e-05/0.3722, allocations: 112.7 kB / 1.356 GB, free: 4.656 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-05/0.3723, allocations: 184.2 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-05/0.3724, allocations: 180.3 kB / 1.357 GB, free: 4.285 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/0.3725, allocations: 188.2 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/0.3727, allocations: 384.3 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-05/0.3728, allocations: 104.9 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.3728, allocations: 105 kB / 1.357 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.991e-05/0.3729, allocations: 184.3 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.786e-05/0.373, allocations: 180.2 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.142e-05/0.3731, allocations: 188.2 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.127e-05/0.3731, allocations: 180.8 kB / 1.358 GB, free: 2.703 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001628/0.3733, allocations: 307.8 kB / 1.358 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-05/0.3734, allocations: 116.9 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.731e-05/0.3735, allocations: 180.5 kB / 1.359 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.3736, allocations: 116.8 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.3737, allocations: 184.3 kB / 1.359 GB, free: 1.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.3737, allocations: 105 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.000106/0.3738, allocations: 133.2 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3738, allocations: 3.938 kB / 1.359 GB, free: 1.523 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002475/0.3741, allocations: 4 kB / 1.359 GB, free: 1.52 MB / 1.045 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.0004831/0.3745, allocations: 0.8126 MB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.572e-05/0.3746, allocations: 11.98 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3746, allocations: 0 / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.517e-06/0.3746, allocations: 3.938 kB / 1.36 GB, free: 0.6641 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.3751, allocations: 467.5 kB / 1.361 GB, free: 208 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3764, allocations: 1.471 MB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.3767, allocations: 0.6883 MB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.044e-05/0.3767, allocations: 11.98 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.3768, allocations: 11.44 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3768, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.4051, allocations: 1.669 MB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.03, allocations: 4.062 kB / 1.364 GB, free: 12.38 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 17.861595147000116]