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.001637/0.001637, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001823/0.001823, allocations: 208.1 kB / 22.24 MB, free: 5.262 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.781 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.167/3.167, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002162/0.002162, allocations: 66.73 kB / 1.153 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3357, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002078/0.3378, allocations: 0.6169 MB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.338, allocations: 15.92 kB / 1.326 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.583e-05/0.338, allocations: 0 / 1.326 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.398e-05/0.3381, allocations: 0 / 1.326 GB, free: 1.746 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.927e-05/0.3381, allocations: 7.938 kB / 1.326 GB, free: 1.738 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.875e-05/0.3382, allocations: 4 kB / 1.326 GB, free: 1.734 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.3383, allocations: 23.92 kB / 1.326 GB, free: 1.711 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.3384, allocations: 28.2 kB / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.994e-05/0.3385, allocations: 19.91 kB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.3385, allocations: 11.94 kB / 1.326 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3385, allocations: 4 kB / 1.326 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.262e-05/0.3385, allocations: 4 kB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.606e-05/0.3386, allocations: 15.92 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.273e-05/0.3386, allocations: 7.938 kB / 1.326 GB, free: 1.621 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.3387, allocations: 51.73 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3387, allocations: 4 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3387, allocations: 0 / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.3387, allocations: 0 / 1.326 GB, free: 1.566 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.0003543/0.3391, allocations: 274.6 kB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.3391, allocations: 12.03 kB / 1.326 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3392, allocations: 38.73 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.3392, allocations: 4.938 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3394, allocations: 118.5 kB / 1.326 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3394, allocations: 4.375 kB / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.3395, allocations: 384 / 1.326 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.3396, allocations: 94.09 kB / 1.326 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3396, allocations: 3.938 kB / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.3396, allocations: 0 / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.3397, allocations: 0 / 1.326 GB, free: 0.957 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.625e-05/0.3397, allocations: 51.97 kB / 1.326 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.3403, allocations: 450.2 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.911e-05/0.3404, allocations: 173.1 kB / 1.327 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.3404, allocations: 80.14 kB / 1.327 GB, free: 164 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.635e-05/0.3404, allocations: 75.28 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.3405, allocations: 113.8 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 4.308e-06/0.3405, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.982e-05/0.3406, allocations: 33.66 kB / 1.327 GB, free: 15.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.195e-05/0.3407, allocations: 130.6 kB / 1.327 GB, free: 15.78 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.3409, allocations: 171.4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3409, allocations: 25.7 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.3409, allocations: 96.12 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.341, allocations: 0 / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.341, allocations: 13.72 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.3411, allocations: 310.8 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.43e-05/0.3411, allocations: 11.98 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.556e-05/0.3412, allocations: 7.984 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3412, allocations: 24.86 kB / 1.328 GB, free: 15.1 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3412, allocations: 4.047 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001221/0.3413, allocations: 57.56 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3413, allocations: 8 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3414, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.3414, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.184e-05/0.3414, allocations: 11.94 kB / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3414, allocations: 0 / 1.328 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.133e-05/0.3415, allocations: 11.89 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3415, allocations: 4.031 kB / 1.328 GB, free: 15 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.0001211/0.3416, allocations: 197.1 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.3417, allocations: 104.9 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.3417, allocations: 112.8 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.059e-05/0.3418, allocations: 184.2 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.527e-05/0.3419, allocations: 180.2 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.752e-05/0.342, allocations: 180.3 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.3422, allocations: 392.2 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.606e-05/0.3423, allocations: 101 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.3423, allocations: 101 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.874e-05/0.3424, allocations: 192.2 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.063e-05/0.3425, allocations: 180.3 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.349e-05/0.3426, allocations: 188.2 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-05/0.3427, allocations: 184.2 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/0.3428, allocations: 307.7 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.3429, allocations: 112.9 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.343, allocations: 184.5 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.3431, allocations: 104.9 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.914e-05/0.3432, allocations: 188.2 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.3433, allocations: 105 kB / 1.331 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001275/0.3434, allocations: 133 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3434, allocations: 4 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002263/0.3436, allocations: 4 kB / 1.331 GB, free: 11.43 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.0005671/0.3442, allocations: 0.8165 MB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.19e-05/0.3443, allocations: 12 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3443, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.3443, allocations: 0 / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.3448, allocations: 471.6 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.3462, allocations: 1.483 MB / 1.334 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.468e-05/0.3463, allocations: 79.17 kB / 1.334 GB, free: 8.445 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.3463, allocations: 7.984 kB / 1.334 GB, free: 8.438 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.3464, allocations: 19.44 kB / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3464, allocations: 0 / 1.334 GB, free: 8.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3769, allocations: 2.094 MB / 1.336 GB, free: 6.465 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.45, allocations: 8.719 kB / 1.336 GB, free: 6.461 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.143740204628557]