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.001614/0.001614, allocations: 113.9 kB / 17.16 MB, free: 5.895 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.001406/0.001406, allocations: 215 kB / 20.13 MB, free: 2.949 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 / 253.5 MB, free: 15.09 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 2.952/2.952, allocations: 0.49 GB / 0.7923 GB, free: 1.441 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.002009/0.002009, allocations: 79.89 kB / 1.15 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9355/0.9375, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001707/0.9392, allocations: 0.615 MB / 1.322 GB, free: 24.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001403/0.9393, allocations: 7.938 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.83e-05/0.9394, allocations: 2.812 kB / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.58e-05/0.9395, allocations: 0 / 1.322 GB, free: 24.35 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 2.57e-05/0.9395, allocations: 3.938 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.496e-05/0.9396, allocations: 6.297 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.88e-05/0.9397, allocations: 20.55 kB / 1.322 GB, free: 24.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.9398, allocations: 32.81 kB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.9398, allocations: 19.02 kB / 1.322 GB, free: 24.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 2.817e-05/0.9398, allocations: 14.09 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.9398, allocations: 5.031 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.9398, allocations: 3.219 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.058e-05/0.9399, allocations: 10.66 kB / 1.322 GB, free: 24.3 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.9399, allocations: 22.28 kB / 1.322 GB, free: 24.28 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.558e-05/0.94, allocations: 50.77 kB / 1.322 GB, free: 24.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.94, allocations: 4 kB / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.192e-06/0.94, allocations: 0 / 1.322 GB, free: 24.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.94, allocations: 2.812 kB / 1.322 GB, free: 24.25 MB / 1.061 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.0002656/0.9403, allocations: 345.5 kB / 1.323 GB, free: 23.89 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.9403, allocations: 12.23 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.322e-05/0.9403, allocations: 6.969 kB / 1.323 GB, free: 23.88 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.972e-05/0.9403, allocations: 36.84 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/0.9404, allocations: 3.688 kB / 1.323 GB, free: 23.84 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.9405, allocations: 187.5 kB / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.9405, allocations: 384 / 1.323 GB, free: 23.63 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.9405, allocations: 7.125 kB / 1.323 GB, free: 23.62 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/0.9407, allocations: 82.41 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.9407, allocations: 0 / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.9407, allocations: 2.312 kB / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.9407, allocations: 0 / 1.323 GB, free: 23.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.233e-05/0.9408, allocations: 51.66 kB / 1.323 GB, free: 23.56 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003394/0.9411, allocations: 489.2 kB / 1.323 GB, free: 23.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.083e-05/0.9411, allocations: 171.6 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.9412, allocations: 80.14 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.9412, allocations: 75.28 kB / 1.324 GB, free: 22.77 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.9412, allocations: 109.8 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.9412, allocations: 2.406 kB / 1.324 GB, free: 22.66 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 6.542e-05/0.9413, allocations: 39.34 kB / 1.324 GB, free: 22.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.9413, allocations: 130.6 kB / 1.324 GB, free: 22.48 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.9414, allocations: 169 kB / 1.324 GB, free: 22.36 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.28e-06/0.9414, allocations: 25.7 kB / 1.324 GB, free: 22.33 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.9414, allocations: 94.27 kB / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-06/0.9414, allocations: 0 / 1.324 GB, free: 22.24 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.9415, allocations: 19.98 kB / 1.324 GB, free: 22.22 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.961e-05/0.9415, allocations: 314.8 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.9415, allocations: 9.594 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.269e-05/0.9416, allocations: 10.39 kB / 1.325 GB, free: 21.9 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.952e-05/0.9416, allocations: 23.52 kB / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.9416, allocations: 0 / 1.325 GB, free: 21.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.475e-05/0.9417, allocations: 57.52 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.9417, allocations: 4.75 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.9417, allocations: 4.094 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.9417, allocations: 3.938 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.9418, allocations: 3.125 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.9418, allocations: 2.438 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.412e-05/0.9418, allocations: 6.703 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.9418, allocations: 5.984 kB / 1.325 GB, free: 21.82 MB / 1.061 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 5.795e-05/0.9419, allocations: 195.6 kB / 1.325 GB, free: 21.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.9419, allocations: 107.5 kB / 1.325 GB, free: 21.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.9419, allocations: 115.4 kB / 1.325 GB, free: 21.4 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-05/0.9419, allocations: 186.2 kB / 1.325 GB, free: 21.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.277e-05/0.942, allocations: 180.2 kB / 1.325 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.45e-05/0.942, allocations: 179.1 kB / 1.326 GB, free: 20.86 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001281/0.9421, allocations: 427.1 kB / 1.326 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.9421, allocations: 106.5 kB / 1.326 GB, free: 20.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.475e-05/0.9421, allocations: 101 kB / 1.326 GB, free: 20.18 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.521e-05/0.9422, allocations: 182.4 kB / 1.326 GB, free: 20 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.9422, allocations: 176.3 kB / 1.327 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/0.9422, allocations: 193.9 kB / 1.327 GB, free: 19.63 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.232e-05/0.9422, allocations: 180.2 kB / 1.327 GB, free: 19.45 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.9423, allocations: 311.2 kB / 1.327 GB, free: 19.12 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.9424, allocations: 192.3 kB / 1.327 GB, free: 18.92 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.9424, allocations: 184.2 kB / 1.328 GB, free: 18.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.057e-05/0.9424, allocations: 107.8 kB / 1.328 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.9425, allocations: 187.4 kB / 1.328 GB, free: 18.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.9425, allocations: 103.7 kB / 1.328 GB, free: 18.33 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.956e-05/0.9426, allocations: 128.8 kB / 1.328 GB, free: 18.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9426, allocations: 0 / 1.328 GB, free: 18.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002166/0.9428, allocations: 5.375 kB / 1.328 GB, free: 18.24 MB / 1.061 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.0002503/0.943, allocations: 0.8178 MB / 1.329 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.608e-05/0.9431, allocations: 10.36 kB / 1.329 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9431, allocations: 2.906 kB / 1.329 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.9431, allocations: 0 / 1.329 GB, free: 17.42 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.9434, allocations: 466.6 kB / 1.329 GB, free: 16.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008788/0.9443, allocations: 1.488 MB / 1.331 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.9444, allocations: 0.6881 MB / 1.332 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.9444, allocations: 9.812 kB / 1.332 GB, free: 14.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.952e-05/0.9445, allocations: 18.34 kB / 1.332 GB, free: 14.88 MB / 1.061 GB Notification: Performance of SimCode: time 4.71e-07/0.9445, allocations: 0 / 1.332 GB, free: 14.88 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.9614, allocations: 1.629 MB / 1.333 GB, free: 14.51 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.306/9.267, allocations: 20.12 kB / 1.333 GB, free: 14.5 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.629601938009728]