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.001306/0.001306, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001489/0.001489, allocations: 217.4 kB / 22.25 MB, free: 5.258 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 7.809 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.153/3.153, allocations: 0.49 GB / 0.7951 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] 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.002022/0.002022, allocations: 68.23 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3287, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001866/0.3305, allocations: 0.6114 MB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001415/0.3307, allocations: 19.92 kB / 1.326 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.978e-05/0.3307, allocations: 0 / 1.326 GB, free: 0.8633 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.418e-05/0.3308, allocations: 7.922 kB / 1.326 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.3308, allocations: 0 / 1.326 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.863e-05/0.3309, allocations: 4 kB / 1.326 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.331, allocations: 19.98 kB / 1.326 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.3312, allocations: 24.2 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.3312, allocations: 15.94 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.3313, allocations: 15.92 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.3313, allocations: 4 kB / 1.327 GB, free: 0.7734 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.256e-05/0.3313, allocations: 4 kB / 1.327 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.15e-05/0.3314, allocations: 11.94 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.3314, allocations: 19.84 kB / 1.327 GB, free: 0.7383 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.3315, allocations: 43.83 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.3315, allocations: 0 / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.425e-06/0.3315, allocations: 0 / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3315, allocations: 3.938 kB / 1.327 GB, free: 0.6914 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.0004665/0.332, allocations: 278.6 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.3321, allocations: 8.031 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.515e-05/0.3321, allocations: 38.75 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.3321, allocations: 4.938 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.3324, allocations: 126.5 kB / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.3324, allocations: 384 / 1.327 GB, free: 184 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.3324, allocations: 8.312 kB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.3326, allocations: 82.22 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.3326, allocations: 11.88 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3327, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3327, allocations: 0 / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.974e-05/0.3327, allocations: 47.97 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006522/0.3334, allocations: 458.2 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3335, allocations: 165.1 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.937e-05/0.3335, allocations: 80.14 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.375e-05/0.3336, allocations: 83.28 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.72e-05/0.3337, allocations: 117.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3337, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.911e-05/0.3337, allocations: 33.66 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.186e-05/0.3338, allocations: 130.6 kB / 1.328 GB, free: 14.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002103/0.334, allocations: 171.4 kB / 1.328 GB, free: 14.72 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.3341, allocations: 25.7 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.3341, allocations: 92.12 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.576e-06/0.3341, allocations: 4 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.3342, allocations: 9.719 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3343, allocations: 322.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.3343, allocations: 7.984 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.496e-05/0.3343, allocations: 4 kB / 1.329 GB, free: 14.24 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.731e-05/0.3344, allocations: 24.78 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3344, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001331/0.3345, allocations: 49.64 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3345, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3346, allocations: 4 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3346, allocations: 0 / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.073e-05/0.3346, allocations: 12.02 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3346, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.3347, allocations: 12 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.3347, allocations: 7.938 kB / 1.329 GB, free: 14.12 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.00013/0.3348, allocations: 193.1 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.785e-05/0.3349, allocations: 108.9 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.335, allocations: 108.8 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.448e-05/0.335, allocations: 196.1 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-05/0.3351, allocations: 180.3 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.888e-05/0.3352, allocations: 176.3 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.3355, allocations: 392.2 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.067e-05/0.3355, allocations: 101 kB / 1.33 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.995e-05/0.3356, allocations: 108.9 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.879e-05/0.3357, allocations: 180.3 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-05/0.3357, allocations: 180.3 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-05/0.3358, allocations: 188.2 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.762e-05/0.3359, allocations: 180.3 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.3361, allocations: 311.7 kB / 1.331 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.3362, allocations: 108.9 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.3363, allocations: 188.5 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.3364, allocations: 108.9 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.385e-05/0.3365, allocations: 196.2 kB / 1.332 GB, free: 10.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.3365, allocations: 101 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001243/0.3366, allocations: 132.7 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3366, allocations: 0 / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002487/0.3369, allocations: 4 kB / 1.332 GB, free: 10.54 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.0005092/0.3374, allocations: 0.8165 MB / 1.333 GB, free: 9.699 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.3375, allocations: 12 kB / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3375, allocations: 0 / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.3375, allocations: 0 / 1.333 GB, free: 9.688 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004694/0.338, allocations: 469.4 kB / 1.333 GB, free: 9.227 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3393, allocations: 1.482 MB / 1.335 GB, free: 7.664 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.448e-05/0.3394, allocations: 79.19 kB / 1.335 GB, free: 7.566 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.551e-05/0.3394, allocations: 4.109 kB / 1.335 GB, free: 7.562 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.025e-05/0.3394, allocations: 19.36 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3394, allocations: 0 / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.3678, allocations: 2.122 MB / 1.337 GB, free: 5.562 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.12, allocations: 2.188 kB / 1.337 GB, free: 5.562 MB / 1.029 GB " [Timeout remaining time 289] (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: 17.744131925981492]