Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001918/0.001918, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002407/0.002407, allocations: 217.7 kB / 22.25 MB, free: 5.125 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.432/3.432, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",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.00211/0.00211, allocations: 71.3 kB / 1.154 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 176.1 MB / 1.326 GB, free: 1.984 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002173/0.3558, allocations: 0.6114 MB / 1.326 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3559, allocations: 11.94 kB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.356, allocations: 0 / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3561, allocations: 3.984 kB / 1.327 GB, free: 1.363 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.674e-05/0.3561, allocations: 7.938 kB / 1.327 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.085e-05/0.3562, allocations: 8 kB / 1.327 GB, free: 1.348 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.617e-05/0.3563, allocations: 23.97 kB / 1.327 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.3564, allocations: 20.2 kB / 1.327 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.986e-05/0.3565, allocations: 15.94 kB / 1.327 GB, free: 1.289 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.77e-05/0.3565, allocations: 19.86 kB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.3565, allocations: 4 kB / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.006e-05/0.3566, allocations: 0 / 1.327 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3566, allocations: 11.94 kB / 1.327 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.3e-05/0.3566, allocations: 15.88 kB / 1.327 GB, free: 1.238 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.3568, allocations: 51.8 kB / 1.327 GB, free: 1.188 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3568, allocations: 4 kB / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3568, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3568, allocations: 0 / 1.327 GB, free: 1.184 MB / 1.014 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.0003937/0.3572, allocations: 282.5 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.3572, allocations: 8.031 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.708e-05/0.3573, allocations: 34.75 kB / 1.327 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.609e-05/0.3573, allocations: 4.938 kB / 1.327 GB, free: 0.8203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.3575, allocations: 122.5 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3576, allocations: 8.359 kB / 1.327 GB, free: 0.668 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.3576, allocations: 8.375 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3578, allocations: 86.09 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3578, allocations: 3.938 kB / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3578, allocations: 0 / 1.327 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3578, allocations: 4 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.504e-05/0.3579, allocations: 47.97 kB / 1.327 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005684/0.3585, allocations: 454.2 kB / 1.328 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.3586, allocations: 177.2 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.291e-05/0.3586, allocations: 84.08 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.916e-05/0.3587, allocations: 75.28 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.3587, allocations: 109.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.162e-06/0.3587, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.704e-05/0.3588, allocations: 37.64 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.649e-05/0.3589, allocations: 134.6 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3591, allocations: 167.5 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.3591, allocations: 25.7 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.3592, allocations: 96.12 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.807e-06/0.3592, allocations: 0 / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.3592, allocations: 17.7 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.3594, allocations: 318.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.3594, allocations: 11.98 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.549e-05/0.3594, allocations: 8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.274e-05/0.3595, allocations: 16.78 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3595, allocations: 0 / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001368/0.3596, allocations: 53.64 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3596, allocations: 4 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3596, allocations: 3.938 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3596, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.3597, allocations: 8.031 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.3597, allocations: 7.984 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.328e-05/0.3597, allocations: 11.89 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.3597, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 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.0001398/0.3599, allocations: 197.1 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.36, allocations: 108.9 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.36, allocations: 108.8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.001e-05/0.3601, allocations: 188.2 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.84e-05/0.3602, allocations: 184.2 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.51e-05/0.3603, allocations: 176.3 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003201/0.3606, allocations: 396.2 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.689e-05/0.3607, allocations: 105 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.3608, allocations: 101 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.733e-05/0.3609, allocations: 184.2 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.361, allocations: 180.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001045/0.3611, allocations: 192.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.095e-05/0.3612, allocations: 184.2 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.3614, allocations: 307.7 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-05/0.3614, allocations: 116.9 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.3615, allocations: 184.5 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.3617, allocations: 104.9 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.913e-05/0.3617, allocations: 184.2 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.3618, allocations: 109 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001233/0.3619, allocations: 132.7 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3619, allocations: 0 / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002535/0.3622, allocations: 4 kB / 1.332 GB, free: 11.02 MB / 1.029 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.0005341/0.3627, allocations: 0.8104 MB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.836e-05/0.3628, allocations: 15.98 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3628, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.3628, allocations: 0 / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004892/0.3633, allocations: 465.3 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3647, allocations: 1.49 MB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.3651, allocations: 0.6923 MB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.3651, allocations: 4 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.3652, allocations: 15.44 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.3652, allocations: 3.938 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03129/0.3965, allocations: 1.674 MB / 1.337 GB, free: 5.867 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.43, allocations: 0.9375 kB / 1.337 GB, free: 5.867 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.345896753948182]