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.001934/0.001934, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002372/0.002372, allocations: 215.6 kB / 22.25 MB, free: 5.074 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.988 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.279/3.279, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.002071/0.002071, allocations: 67.28 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3681, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.002162/0.3702, allocations: 0.6178 MB / 1.353 GB, free: 7.848 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001582/0.3704, allocations: 7.984 kB / 1.353 GB, free: 7.84 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.3704, allocations: 7.938 kB / 1.353 GB, free: 7.832 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.3705, allocations: 3.938 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 2.881e-05/0.3706, allocations: 0 / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 7.168e-05/0.3706, allocations: 0 / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.3707, allocations: 27.92 kB / 1.353 GB, free: 7.801 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.3709, allocations: 28.2 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.707e-05/0.3709, allocations: 15.92 kB / 1.354 GB, free: 7.758 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.928e-05/0.371, allocations: 11.92 kB / 1.354 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.371, allocations: 4 kB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.371, allocations: 8 kB / 1.354 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.3711, allocations: 8 kB / 1.354 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.3711, allocations: 23.86 kB / 1.354 GB, free: 7.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001304/0.3712, allocations: 43.81 kB / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.3712, allocations: 0 / 1.354 GB, free: 7.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3712, allocations: 4 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3713, allocations: 3.984 kB / 1.354 GB, free: 7.652 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.0004373/0.3717, allocations: 270.6 kB / 1.354 GB, free: 7.355 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.3717, allocations: 12.03 kB / 1.354 GB, free: 7.344 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.793e-05/0.3718, allocations: 34.75 kB / 1.354 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.792e-05/0.3718, allocations: 8.891 kB / 1.354 GB, free: 7.293 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.3721, allocations: 126.4 kB / 1.354 GB, free: 7.145 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.3721, allocations: 8.375 kB / 1.354 GB, free: 7.137 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.3721, allocations: 4.375 kB / 1.354 GB, free: 7.133 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3723, allocations: 78.22 kB / 1.354 GB, free: 7.051 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3724, allocations: 3.938 kB / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.3724, allocations: 0 / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.3724, allocations: 0 / 1.354 GB, free: 7.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.079e-05/0.3725, allocations: 51.97 kB / 1.354 GB, free: 6.996 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.3731, allocations: 462.2 kB / 1.355 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.3732, allocations: 173 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.3732, allocations: 80.14 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.3733, allocations: 79.27 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.3733, allocations: 113.8 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.011e-06/0.3733, allocations: 0 / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 9.279e-05/0.3734, allocations: 29.66 kB / 1.355 GB, free: 6.004 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.3735, allocations: 134.6 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.3737, allocations: 167.4 kB / 1.355 GB, free: 5.688 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3737, allocations: 25.81 kB / 1.355 GB, free: 5.656 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.622e-05/0.3738, allocations: 104 kB / 1.356 GB, free: 5.551 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-06/0.3738, allocations: 4 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.3738, allocations: 21.67 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.374, allocations: 310.8 kB / 1.356 GB, free: 5.207 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.447e-05/0.374, allocations: 11.98 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.374, allocations: 4 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.269e-05/0.3741, allocations: 16.84 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3741, allocations: 0 / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001353/0.3742, allocations: 49.75 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3742, allocations: 8 kB / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3742, allocations: 0 / 1.356 GB, free: 5.109 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.3742, allocations: 3.984 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.3743, allocations: 11.88 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3743, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.069e-05/0.3743, allocations: 11.89 kB / 1.356 GB, free: 5.082 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3744, allocations: 4 kB / 1.356 GB, free: 5.078 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.0001499/0.3745, allocations: 197.7 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.049e-05/0.3746, allocations: 109 kB / 1.356 GB, free: 4.762 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.985e-05/0.3747, allocations: 116.8 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.829e-05/0.3748, allocations: 188.1 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-05/0.3748, allocations: 180.3 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.62e-05/0.3749, allocations: 180.2 kB / 1.357 GB, free: 4.078 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.3752, allocations: 392.3 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.13e-05/0.3753, allocations: 101 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.987e-05/0.3753, allocations: 108.9 kB / 1.357 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.061e-05/0.3754, allocations: 180.2 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.053e-05/0.3755, allocations: 184.2 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.338e-05/0.3756, allocations: 184.2 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.856e-05/0.3757, allocations: 188.8 kB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3758, allocations: 303.8 kB / 1.358 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.3759, allocations: 112.9 kB / 1.359 GB, free: 2.238 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.376, allocations: 180.5 kB / 1.359 GB, free: 2.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3761, allocations: 116.9 kB / 1.359 GB, free: 1.934 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.3762, allocations: 188.2 kB / 1.359 GB, free: 1.742 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.8e-05/0.3762, allocations: 105 kB / 1.359 GB, free: 1.633 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001082/0.3763, allocations: 129.3 kB / 1.359 GB, free: 1.508 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3763, allocations: 3.938 kB / 1.359 GB, free: 1.504 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002373/0.3766, allocations: 8 kB / 1.359 GB, free: 1.496 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.0005177/0.3771, allocations: 0.8105 MB / 1.36 GB, free: 0.6602 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.661e-05/0.3772, allocations: 11.98 kB / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3772, allocations: 0 / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/0.3772, allocations: 0 / 1.36 GB, free: 0.6484 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.3776, allocations: 475.5 kB / 1.361 GB, free: 184 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.3791, allocations: 1.468 MB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3794, allocations: 0.6922 MB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.934e-05/0.3794, allocations: 4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.3795, allocations: 19.42 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.3795, allocations: 0 / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02918/0.4087, allocations: 1.667 MB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.6, allocations: 11.66 kB / 1.364 GB, free: 12.36 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 18.397808637004346]