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.001563/0.001563, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001776/0.001776, allocations: 216.5 kB / 23.04 MB, free: 5.078 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.176/3.176, allocations: 0.49 GB / 0.7959 GB, free: 33.4 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_12_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.001991/0.001991, allocations: 66.98 kB / 1.155 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 176.1 MB / 1.327 GB, free: 2.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001753/0.3424, allocations: 0.6228 MB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.3425, allocations: 8 kB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.48e-05/0.3425, allocations: 0 / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.317e-05/0.3426, allocations: 7.922 kB / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.499e-05/0.3426, allocations: 0 / 1.327 GB, free: 1.371 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.038e-05/0.3427, allocations: 4 kB / 1.327 GB, free: 1.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.3428, allocations: 23.98 kB / 1.327 GB, free: 1.344 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.3429, allocations: 24.19 kB / 1.327 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.752e-05/0.3429, allocations: 19.88 kB / 1.327 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.465e-05/0.343, allocations: 15.92 kB / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.343, allocations: 0 / 1.327 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.168e-05/0.343, allocations: 4 kB / 1.327 GB, free: 1.281 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.079e-05/0.343, allocations: 11.94 kB / 1.327 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.872e-05/0.3431, allocations: 23.86 kB / 1.327 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.815e-05/0.3432, allocations: 35.88 kB / 1.327 GB, free: 1.211 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3432, allocations: 8 kB / 1.327 GB, free: 1.203 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3432, allocations: 4 kB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.698e-06/0.3432, allocations: 0 / 1.327 GB, free: 1.199 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.0003338/0.3435, allocations: 274.5 kB / 1.328 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.3435, allocations: 12.03 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.558e-05/0.3436, allocations: 8.172 kB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.3436, allocations: 34.75 kB / 1.328 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.216e-05/0.3436, allocations: 0.9375 kB / 1.328 GB, free: 0.8359 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.3438, allocations: 130.4 kB / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.3438, allocations: 4.375 kB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.3438, allocations: 8.375 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.344, allocations: 77.97 kB / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.344, allocations: 0 / 1.328 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.344, allocations: 4 kB / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/0.344, allocations: 0 / 1.328 GB, free: 0.5859 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.084e-05/0.3441, allocations: 51.91 kB / 1.328 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.3446, allocations: 462.2 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.771e-05/0.3447, allocations: 173.1 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.005e-05/0.3447, allocations: 84.08 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.3447, allocations: 75.28 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.3448, allocations: 113.8 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3448, allocations: 0 / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.522e-05/0.3449, allocations: 37.66 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3449, allocations: 134.6 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.3451, allocations: 167.7 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3451, allocations: 29.7 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.13e-05/0.3452, allocations: 88.14 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-06/0.3452, allocations: 3.984 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/0.3452, allocations: 17.72 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3454, allocations: 318.8 kB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.371e-05/0.3454, allocations: 15.92 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.3454, allocations: 4 kB / 1.33 GB, free: 14.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.3454, allocations: 12.84 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.3454, allocations: 0 / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.3456, allocations: 53.64 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3456, allocations: 4 kB / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3456, allocations: 0 / 1.33 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.3456, allocations: 7.922 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.352e-05/0.3456, allocations: 12.08 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3456, allocations: 0 / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3457, allocations: 11.89 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3457, allocations: 8 kB / 1.33 GB, free: 14.61 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.0001173/0.3458, allocations: 193.7 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.3459, allocations: 105 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.269e-05/0.3459, allocations: 112.8 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-05/0.346, allocations: 192.1 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-05/0.3461, allocations: 176.3 kB / 1.331 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.379e-05/0.3462, allocations: 180.2 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.3464, allocations: 392.3 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/0.3465, allocations: 101 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.3465, allocations: 108.9 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.442e-05/0.3466, allocations: 180.2 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.027e-05/0.3467, allocations: 188.3 kB / 1.332 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-05/0.3467, allocations: 188.2 kB / 1.332 GB, free: 12.4 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-05/0.3468, allocations: 176.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.347, allocations: 315.7 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.134e-05/0.347, allocations: 116.9 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.439e-05/0.3471, allocations: 176.5 kB / 1.333 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.041e-05/0.3472, allocations: 104.9 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.3473, allocations: 192.2 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.671e-05/0.3473, allocations: 109 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001112/0.3475, allocations: 129 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002252/0.3477, allocations: 4 kB / 1.333 GB, free: 11.04 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.0004643/0.3481, allocations: 0.8165 MB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.136e-05/0.3482, allocations: 11.98 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3482, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.3482, allocations: 0 / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.3486, allocations: 467.6 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.3499, allocations: 1.492 MB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.3502, allocations: 0.6922 MB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.222e-05/0.3503, allocations: 4 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3503, allocations: 15.44 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of SimCode: time 5.41e-07/0.3503, allocations: 4 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.3714, allocations: 1.692 MB / 1.338 GB, free: 5.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.5, allocations: 9.969 kB / 1.338 GB, free: 5.863 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.288567129988223]