Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001908/0.001908, 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.002416/0.002416, allocations: 214.6 kB / 22.26 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.308/3.308, allocations: 0.505 GB / 0.8101 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_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.002027/0.002027, allocations: 62.17 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3241, allocations: 180.2 MB / 1.353 GB, free: 8.492 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00182/0.3259, allocations: 0.6166 MB / 1.353 GB, free: 7.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.326, allocations: 15.91 kB / 1.353 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.3261, allocations: 4 kB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 8.903e-05/0.3262, allocations: 0 / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 3.179e-05/0.3262, allocations: 3.938 kB / 1.353 GB, free: 7.855 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.485e-05/0.3263, allocations: 4 kB / 1.353 GB, free: 7.852 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.364e-05/0.3264, allocations: 23.98 kB / 1.353 GB, free: 7.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3265, allocations: 24.2 kB / 1.354 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 4.795e-05/0.3265, allocations: 19.92 kB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.3266, allocations: 11.94 kB / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3266, allocations: 0 / 1.354 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.149e-05/0.3266, allocations: 11.94 kB / 1.354 GB, free: 7.762 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.3266, allocations: 19.91 kB / 1.354 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.3267, allocations: 11.94 kB / 1.354 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.3268, allocations: 47.75 kB / 1.354 GB, free: 7.684 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.3268, allocations: 4 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3268, allocations: 0 / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3268, allocations: 0 / 1.354 GB, free: 7.68 MB / 1.045 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.0003801/0.3272, allocations: 274.5 kB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.3272, allocations: 12.03 kB / 1.354 GB, free: 7.367 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.187e-05/0.3273, allocations: 38.73 kB / 1.354 GB, free: 7.32 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.983e-05/0.3273, allocations: 12.89 kB / 1.354 GB, free: 7.309 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.3275, allocations: 114.5 kB / 1.354 GB, free: 7.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3275, allocations: 4.375 kB / 1.354 GB, free: 7.168 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.3275, allocations: 4.359 kB / 1.354 GB, free: 7.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.3277, allocations: 82.17 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3277, allocations: 3.938 kB / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3277, allocations: 0 / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3277, allocations: 0 / 1.354 GB, free: 7.074 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.821e-05/0.3278, allocations: 55.91 kB / 1.354 GB, free: 7.02 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.3284, allocations: 466.2 kB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001022/0.3285, allocations: 173.1 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.84e-05/0.3285, allocations: 80.14 kB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/0.3286, allocations: 75.28 kB / 1.355 GB, free: 6.184 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.3286, allocations: 117.8 kB / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.3286, allocations: 112 / 1.355 GB, free: 6.059 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.967e-05/0.3287, allocations: 37.59 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.176e-05/0.3288, allocations: 130.6 kB / 1.355 GB, free: 5.875 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.329, allocations: 167.4 kB / 1.355 GB, free: 5.703 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.329, allocations: 25.7 kB / 1.355 GB, free: 5.672 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.329, allocations: 96.12 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.329, allocations: 0 / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3291, allocations: 21.67 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3292, allocations: 318.8 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.438e-05/0.3293, allocations: 4 kB / 1.356 GB, free: 5.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.91e-05/0.3293, allocations: 11.98 kB / 1.356 GB, free: 5.211 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.587e-05/0.3293, allocations: 16.8 kB / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3293, allocations: 0 / 1.356 GB, free: 5.191 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001195/0.3294, allocations: 49.67 kB / 1.356 GB, free: 5.137 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3294, allocations: 14.12 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3295, allocations: 0 / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.3295, allocations: 0 / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.656e-05/0.3295, allocations: 11.88 kB / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.3295, allocations: 0 / 1.356 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.3296, allocations: 11.89 kB / 1.356 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.3296, allocations: 4 kB / 1.356 GB, free: 5.098 MB / 1.045 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.000136/0.3297, allocations: 201 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.3298, allocations: 112.9 kB / 1.356 GB, free: 4.773 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.368e-05/0.3299, allocations: 116.8 kB / 1.356 GB, free: 4.648 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.463e-05/0.3299, allocations: 184.1 kB / 1.357 GB, free: 4.461 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.642e-05/0.33, allocations: 180.3 kB / 1.357 GB, free: 4.277 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.233e-05/0.3301, allocations: 176.3 kB / 1.357 GB, free: 4.098 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.3304, allocations: 396.2 kB / 1.357 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/0.3304, allocations: 105 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.705e-05/0.3305, allocations: 108.9 kB / 1.357 GB, free: 3.438 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.223e-05/0.3306, allocations: 176.3 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.853e-05/0.3306, allocations: 176.3 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.551e-05/0.3307, allocations: 188.2 kB / 1.358 GB, free: 2.887 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.895e-05/0.3308, allocations: 188.8 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.331, allocations: 303.8 kB / 1.358 GB, free: 2.375 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.082e-05/0.3311, allocations: 112.9 kB / 1.359 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.58e-05/0.3312, allocations: 184.5 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.32e-05/0.3312, allocations: 112.9 kB / 1.359 GB, free: 1.953 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.3313, allocations: 188.2 kB / 1.359 GB, free: 1.762 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.514e-05/0.3314, allocations: 101 kB / 1.359 GB, free: 1.656 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001285/0.3315, allocations: 131.2 kB / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3315, allocations: 0 / 1.359 GB, free: 1.527 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002231/0.3317, allocations: 8 kB / 1.359 GB, free: 1.52 MB / 1.045 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.0005029/0.3322, allocations: 0.8126 MB / 1.36 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.3323, allocations: 4 kB / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3323, allocations: 0 / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.3323, allocations: 0 / 1.36 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.3328, allocations: 475.6 kB / 1.361 GB, free: 212 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.3342, allocations: 1.472 MB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.3345, allocations: 0.6922 MB / 1.363 GB, free: 13.94 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.3346, allocations: 4 kB / 1.363 GB, free: 13.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.3346, allocations: 15.42 kB / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/0.3346, allocations: 0 / 1.363 GB, free: 13.92 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02843/0.363, allocations: 1.674 MB / 1.364 GB, free: 12.38 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.37, allocations: 9.328 kB / 1.364 GB, free: 12.38 MB / 1.061 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat --tempDir=temp_Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.192202907055616]