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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008203/0.008203, allocations: 102 kB / 15.73 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.807/2.807, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.91 kB / 1.054 GB, free: 7.141 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 157.4 MB / 1.208 GB, free: 9.633 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00185/0.3258, allocations: 0.6036 MB / 1.208 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001543/0.326, allocations: 11.94 kB / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.326, allocations: 0 / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.409e-05/0.3261, allocations: 0 / 1.208 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.113e-05/0.3262, allocations: 3.984 kB / 1.208 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.168e-05/0.3263, allocations: 4 kB / 1.208 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.3263, allocations: 31.8 kB / 1.208 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3265, allocations: 39.97 kB / 1.208 GB, free: 8.938 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.768e-05/0.3265, allocations: 11.94 kB / 1.208 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.969e-05/0.3266, allocations: 19.92 kB / 1.208 GB, free: 8.906 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.3266, allocations: 4 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.241e-05/0.3266, allocations: 0 / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.3266, allocations: 4 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.84e-05/0.3267, allocations: 19.88 kB / 1.208 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.688e-05/0.3268, allocations: 55.8 kB / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3268, allocations: 0 / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3268, allocations: 0 / 1.208 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3268, allocations: 0 / 1.208 GB, free: 8.824 MB / 0.9669 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.0003443/0.3272, allocations: 347.4 kB / 1.209 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.3272, allocations: 12.03 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.3272, allocations: 8.844 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.3275, allocations: 192.1 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3275, allocations: 4.375 kB / 1.209 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.3275, allocations: 4.375 kB / 1.209 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3277, allocations: 78.16 kB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3277, allocations: 192 / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3277, allocations: 11.94 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3277, allocations: 0 / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.127e-05/0.3278, allocations: 47.91 kB / 1.209 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.3282, allocations: 479.2 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.608e-05/0.3283, allocations: 173.1 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.097e-05/0.3284, allocations: 84.12 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3284, allocations: 75.28 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.3284, allocations: 109.8 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3284, allocations: 0 / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 7.329e-05/0.3285, allocations: 33.7 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.3286, allocations: 130.6 kB / 1.21 GB, free: 6.883 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.3287, allocations: 175 kB / 1.21 GB, free: 6.703 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.3288, allocations: 25.7 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.347e-05/0.3288, allocations: 92.12 kB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.3288, allocations: 4 kB / 1.21 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.3289, allocations: 17.72 kB / 1.211 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.305e-05/0.329, allocations: 314.8 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.242e-05/0.329, allocations: 11.98 kB / 1.211 GB, free: 6.223 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.329, allocations: 4 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.329, allocations: 16.84 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.329, allocations: 112 / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001102/0.3292, allocations: 65.53 kB / 1.211 GB, free: 6.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3292, allocations: 13.33 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.3292, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3292, allocations: 0 / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.3293, allocations: 4 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3293, allocations: 3.938 kB / 1.211 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.821e-05/0.3293, allocations: 7.938 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3293, allocations: 0 / 1.211 GB, free: 6.102 MB / 0.9669 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.0001042/0.3294, allocations: 201.1 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.3295, allocations: 108.9 kB / 1.211 GB, free: 5.781 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.973e-05/0.3295, allocations: 112.8 kB / 1.211 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.3296, allocations: 180.2 kB / 1.212 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.457e-05/0.3297, allocations: 180.2 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.237e-05/0.3297, allocations: 184.2 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.3299, allocations: 417.2 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-05/0.33, allocations: 108.9 kB / 1.212 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.33, allocations: 109.5 kB / 1.212 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-05/0.3301, allocations: 180.3 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.755e-05/0.3302, allocations: 180.2 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-05/0.3302, allocations: 180.3 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.808e-05/0.3303, allocations: 188.4 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.3304, allocations: 311.8 kB / 1.213 GB, free: 3.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.3305, allocations: 189.9 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.111e-05/0.3305, allocations: 176.3 kB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.807e-05/0.3306, allocations: 116.9 kB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.3307, allocations: 184.2 kB / 1.214 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/0.3308, allocations: 101 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.199e-05/0.3309, allocations: 132.7 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3309, allocations: 4 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002191/0.3311, allocations: 4 kB / 1.214 GB, free: 2.406 MB / 0.9669 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.0001159/0.3312, allocations: 178.5 kB / 1.214 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.376e-05/0.3313, allocations: 11.98 kB / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3313, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.623e-06/0.3313, allocations: 0 / 1.215 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.3317, allocations: 462.1 kB / 1.215 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.3319, allocations: 220.1 kB / 1.215 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.3322, allocations: 0.6884 MB / 1.216 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.102e-05/0.3322, allocations: 4 kB / 1.216 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.3322, allocations: 11.44 kB / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.31e-07/0.3322, allocations: 0 / 1.216 GB, free: 0.7852 MB / 0.9669 GB Notification: Performance of Templates: time 0.002258/0.3345, allocations: 478 kB / 1.216 GB, free: 336 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (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 & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches