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.001553/0.001553, 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.00248/0.00248, allocations: 212.7 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.596/1.596, allocations: 230.6 MB / 256 MB, free: 7.785 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.231/3.231, allocations: 0.4892 GB / 0.7943 GB, free: 35.68 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.002123/0.002123, allocations: 63.62 kB / 1.153 GB, free: 25.61 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.334, allocations: 176.1 MB / 1.325 GB, free: 2.293 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001857/0.3358, allocations: 0.6131 MB / 1.326 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000162/0.336, allocations: 15.92 kB / 1.326 GB, free: 1.668 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.336, allocations: 3.938 kB / 1.326 GB, free: 1.664 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 9.411e-05/0.3361, allocations: 7.922 kB / 1.326 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.413e-05/0.3362, allocations: 3.938 kB / 1.326 GB, free: 1.652 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 8.061e-05/0.3362, allocations: 8 kB / 1.326 GB, free: 1.645 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.3363, allocations: 15.98 kB / 1.326 GB, free: 1.629 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/0.3365, allocations: 28.2 kB / 1.326 GB, free: 1.602 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.3365, allocations: 11.94 kB / 1.326 GB, free: 1.59 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.82e-05/0.3366, allocations: 19.92 kB / 1.326 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.571e-05/0.3366, allocations: 4 kB / 1.326 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.3366, allocations: 4 kB / 1.326 GB, free: 1.562 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.3366, allocations: 15.92 kB / 1.326 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.987e-05/0.3367, allocations: 19.86 kB / 1.326 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.3368, allocations: 35.83 kB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3368, allocations: 0 / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3368, allocations: 0 / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.3368, allocations: 0 / 1.326 GB, free: 1.492 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.0004335/0.3372, allocations: 281 kB / 1.326 GB, free: 1.188 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3373, allocations: 12.03 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.424e-05/0.3373, allocations: 38.75 kB / 1.326 GB, free: 1.129 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.3374, allocations: 4.938 kB / 1.326 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.3376, allocations: 122.5 kB / 1.326 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.3376, allocations: 4.375 kB / 1.326 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.3376, allocations: 8.312 kB / 1.326 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.3378, allocations: 78.22 kB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3379, allocations: 3.938 kB / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3379, allocations: 0 / 1.326 GB, free: 0.8828 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.3379, allocations: 3.938 kB / 1.326 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.754e-05/0.338, allocations: 55.91 kB / 1.326 GB, free: 0.8242 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006566/0.3386, allocations: 458.2 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.3388, allocations: 169.1 kB / 1.327 GB, free: 160 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.92e-05/0.3388, allocations: 80.14 kB / 1.327 GB, free: 76 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 6.406e-05/0.3389, allocations: 83.27 kB / 1.327 GB, free: 15.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.121e-05/0.339, allocations: 113.8 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.339, allocations: 0 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.669e-05/0.3391, allocations: 33.66 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.406e-05/0.3392, allocations: 130.6 kB / 1.327 GB, free: 15.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3393, allocations: 171.7 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.3394, allocations: 25.7 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.3394, allocations: 96.14 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.52e-06/0.3394, allocations: 3.984 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.3395, allocations: 13.72 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.3396, allocations: 314.8 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.038e-05/0.3396, allocations: 7.984 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.289e-05/0.3396, allocations: 7.938 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.127e-05/0.3397, allocations: 24.78 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3397, allocations: 0 / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000131/0.3398, allocations: 49.64 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.3398, allocations: 8.094 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.3398, allocations: 4 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3398, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.548e-05/0.3399, allocations: 15.92 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.3399, allocations: 0 / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.34, allocations: 11.89 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.34, allocations: 0 / 1.328 GB, free: 14.91 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.0001256/0.3401, allocations: 197.2 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.3402, allocations: 112.9 kB / 1.328 GB, free: 14.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.3402, allocations: 108.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.488e-05/0.3403, allocations: 192.1 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.2e-05/0.3404, allocations: 180.3 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.39e-05/0.3405, allocations: 180.3 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.3407, allocations: 384.2 kB / 1.329 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.3408, allocations: 101 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.342e-05/0.3408, allocations: 112.9 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.738e-05/0.3409, allocations: 180.3 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.666e-05/0.341, allocations: 176.3 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.815e-05/0.3411, allocations: 188.2 kB / 1.33 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-05/0.3412, allocations: 180.3 kB / 1.33 GB, free: 12.52 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.3414, allocations: 315.7 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.3414, allocations: 112.9 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.3415, allocations: 184.5 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3416, allocations: 112.9 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.3417, allocations: 184.2 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.994e-05/0.3418, allocations: 101 kB / 1.331 GB, free: 11.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001214/0.3419, allocations: 136.4 kB / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3419, allocations: 0 / 1.331 GB, free: 11.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002221/0.3421, allocations: 8 kB / 1.331 GB, free: 11.33 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.0004571/0.3426, allocations: 0.8087 MB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.54e-05/0.3426, allocations: 16 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3426, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3426, allocations: 0 / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.3431, allocations: 463.6 kB / 1.333 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3445, allocations: 1.484 MB / 1.334 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.944e-05/0.3446, allocations: 79.19 kB / 1.334 GB, free: 8.363 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.646e-05/0.3446, allocations: 4 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.3446, allocations: 19.42 kB / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.3446, allocations: 208 / 1.334 GB, free: 8.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02871/0.3734, allocations: 2.1 MB / 1.336 GB, free: 6.375 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.47, allocations: 6.25 kB / 1.336 GB, free: 6.375 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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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.365237643942237]