Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.002062/0.002062, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.002402/0.002402, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.534/1.534, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.805/2.805, allocations: 476.7 MB / 0.7678 GB, free: 9.395 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="cs",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.002287/0.002287, allocations: 67.91 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9358/0.9381, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00205/0.9401, allocations: 0.6192 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.9403, allocations: 8.141 kB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.9403, allocations: 9.219 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.9404, allocations: 0.6094 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.944e-05/0.9405, allocations: 1.312 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 7.157e-05/0.9405, allocations: 2.312 kB / 1.28 GB, free: 11.33 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.9406, allocations: 26.66 kB / 1.28 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.9408, allocations: 37.84 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.402e-05/0.9408, allocations: 11.11 kB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.583e-05/0.9408, allocations: 15 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.9409, allocations: 2.062 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.9409, allocations: 3.094 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.9409, allocations: 9.719 kB / 1.28 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.979e-05/0.9409, allocations: 20.66 kB / 1.28 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001263/0.9411, allocations: 48.89 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.9411, allocations: 4.797 kB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.063e-06/0.9411, allocations: 0 / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.9411, allocations: 0.9688 kB / 1.28 GB, free: 11.25 MB / 0.9981 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.0004173/0.9415, allocations: 346.1 kB / 1.28 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.9415, allocations: 8.688 kB / 1.28 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.812e-05/0.9416, allocations: 6.375 kB / 1.28 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.9416, allocations: 41.47 kB / 1.28 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.9416, allocations: 7.781 kB / 1.28 GB, free: 10.82 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.9419, allocations: 184.1 kB / 1.28 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.9419, allocations: 6.562 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.9419, allocations: 8.406 kB / 1.28 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.9421, allocations: 76.92 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.9421, allocations: 1.781 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.9421, allocations: 0 / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.9421, allocations: 1.062 kB / 1.28 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.347e-05/0.9422, allocations: 53.5 kB / 1.28 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005831/0.9428, allocations: 487.4 kB / 1.281 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.9429, allocations: 170.4 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.9429, allocations: 80.8 kB / 1.281 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.909e-05/0.943, allocations: 75.28 kB / 1.281 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.682e-05/0.943, allocations: 108 kB / 1.281 GB, free: 9.648 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.943, allocations: 4 kB / 1.281 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 8.157e-05/0.9431, allocations: 36.22 kB / 1.281 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.981e-05/0.9432, allocations: 132.4 kB / 1.281 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.9434, allocations: 171.5 kB / 1.282 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.9434, allocations: 26.86 kB / 1.282 GB, free: 9.312 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/0.9435, allocations: 93.11 kB / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.806e-06/0.9435, allocations: 0 / 1.282 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.9435, allocations: 14.62 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.9437, allocations: 323.2 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.9437, allocations: 5.188 kB / 1.282 GB, free: 8.887 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.9437, allocations: 10.27 kB / 1.282 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.997e-05/0.9438, allocations: 16.83 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.9438, allocations: 1.062 kB / 1.282 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001579/0.9439, allocations: 56.84 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.9439, allocations: 6.141 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9439, allocations: 0 / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.944, allocations: 8.031 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.383e-05/0.944, allocations: 8.078 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.944, allocations: 0 / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.9441, allocations: 4.922 kB / 1.282 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.9441, allocations: 1.75 kB / 1.282 GB, free: 8.816 MB / 0.9981 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 (mulMax.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.000133/0.9442, allocations: 195 kB / 1.282 GB, free: 8.625 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.9443, allocations: 107.9 kB / 1.282 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.742e-05/0.9444, allocations: 123.2 kB / 1.283 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-05/0.9444, allocations: 184.9 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-05/0.9445, allocations: 178.1 kB / 1.283 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.849e-05/0.9446, allocations: 185.7 kB / 1.283 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003017/0.9449, allocations: 419.2 kB / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.376e-05/0.945, allocations: 107.1 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.945, allocations: 105.6 kB / 1.284 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.374e-05/0.9451, allocations: 182.2 kB / 1.284 GB, free: 6.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.688e-05/0.9452, allocations: 177.6 kB / 1.284 GB, free: 6.805 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.519e-05/0.9453, allocations: 185.8 kB / 1.284 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.969e-05/0.9454, allocations: 183.7 kB / 1.284 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.9456, allocations: 311.2 kB / 1.285 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.9457, allocations: 190.2 kB / 1.285 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-05/0.9458, allocations: 183 kB / 1.285 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.9459, allocations: 111.6 kB / 1.285 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.946, allocations: 177.7 kB / 1.285 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-05/0.946, allocations: 114.8 kB / 1.285 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001405/0.9462, allocations: 133.4 kB / 1.286 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9462, allocations: 0 / 1.286 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002529/0.9464, allocations: 4.375 kB / 1.286 GB, free: 5.223 MB / 0.9981 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.0004939/0.9469, allocations: 0.8081 MB / 1.286 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.682e-05/0.947, allocations: 20.08 kB / 1.286 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.947, allocations: 1.125 kB / 1.286 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.212e-06/0.947, allocations: 0 / 1.286 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.9475, allocations: 459.6 kB / 1.287 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.9489, allocations: 1.494 MB / 1.288 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.9493, allocations: 0.6868 MB / 1.289 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.159e-05/0.9493, allocations: 6.781 kB / 1.289 GB, free: 1.891 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.9493, allocations: 18.58 kB / 1.289 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of SimCode: time 3.31e-07/0.9493, allocations: 0.5938 kB / 1.289 GB, free: 1.875 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.9677, allocations: 1.641 MB / 1.291 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.518/9.485, allocations: 11.45 kB / 1.291 GB, free: 1.484 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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: 15.754942171974108]