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.008382/0.008382, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001528/0.001528, allocations: 195.3 kB / 16.67 MB, free: 5.52 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 461.9 MB / 0.7347 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 75.83 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8779/0.8792, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001625/0.8809, allocations: 0.6053 MB / 1.208 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.881, allocations: 11.92 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.8811, allocations: 4 kB / 1.208 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.8812, allocations: 7.984 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.8812, allocations: 4 kB / 1.208 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.985e-05/0.8813, allocations: 3.938 kB / 1.208 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.126e-05/0.8814, allocations: 27.92 kB / 1.208 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.8815, allocations: 27.98 kB / 1.208 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.53e-05/0.8816, allocations: 11.94 kB / 1.208 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.088e-05/0.8816, allocations: 15.92 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.8816, allocations: 4 kB / 1.208 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.8817, allocations: 4 kB / 1.208 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/0.8817, allocations: 11.98 kB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.8817, allocations: 23.86 kB / 1.208 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.358e-05/0.8818, allocations: 43.77 kB / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8818, allocations: 0 / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8819, allocations: 0 / 1.208 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8819, allocations: 0 / 1.208 GB, free: 12.84 MB / 0.9356 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.000334/0.8822, allocations: 351.1 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.8822, allocations: 8.031 kB / 1.209 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.8823, allocations: 8.844 kB / 1.209 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001777/0.8825, allocations: 182.3 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-06/0.8825, allocations: 384 / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.8825, allocations: 12.38 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.8827, allocations: 82.16 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.8827, allocations: 192 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.8827, allocations: 3.938 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8827, allocations: 0 / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.61e-05/0.8828, allocations: 51.91 kB / 1.209 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.8833, allocations: 498.9 kB / 1.21 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.445e-05/0.8833, allocations: 169.1 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.8834, allocations: 80.14 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.8834, allocations: 75.28 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.8834, allocations: 105.8 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.8835, allocations: 0 / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.113e-05/0.8835, allocations: 33.64 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.8836, allocations: 130.7 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.8837, allocations: 175.8 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.8838, allocations: 25.7 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.762e-05/0.8838, allocations: 100 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.8838, allocations: 0 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.978e-05/0.8839, allocations: 9.719 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.884, allocations: 322.9 kB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.884, allocations: 12 kB / 1.211 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.457e-05/0.884, allocations: 11.98 kB / 1.211 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.154e-05/0.884, allocations: 8.859 kB / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.884, allocations: 0 / 1.211 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001141/0.8842, allocations: 57.72 kB / 1.211 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.8842, allocations: 7.938 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-06/0.8842, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8842, allocations: 4 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.8843, allocations: 96 / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.8843, allocations: 7.938 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.8843, allocations: 7.906 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.8843, allocations: 4 kB / 1.211 GB, free: 10.12 MB / 0.9356 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 9.73e-05/0.8844, allocations: 193.1 kB / 1.211 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.8845, allocations: 108.9 kB / 1.211 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.945e-05/0.8845, allocations: 120.8 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.163e-05/0.8846, allocations: 180.3 kB / 1.211 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.277e-05/0.8847, allocations: 188.1 kB / 1.212 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.082e-05/0.8847, allocations: 180.3 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002204/0.8849, allocations: 417.2 kB / 1.212 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.652e-05/0.885, allocations: 108.9 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.885, allocations: 104.9 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.138e-05/0.8851, allocations: 184.2 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.753e-05/0.8851, allocations: 180.3 kB / 1.213 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.734e-05/0.8852, allocations: 180.3 kB / 1.213 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.302e-05/0.8852, allocations: 188.1 kB / 1.213 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.8854, allocations: 311.8 kB / 1.213 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.028e-05/0.8854, allocations: 186 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.8855, allocations: 188.2 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.913e-05/0.8856, allocations: 104.9 kB / 1.214 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.8857, allocations: 180.2 kB / 1.214 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.8857, allocations: 109.2 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.027e-05/0.8858, allocations: 137.1 kB / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8858, allocations: 0 / 1.214 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002159/0.886, allocations: 4 kB / 1.214 GB, free: 6.422 MB / 0.9356 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.0001231/0.8862, allocations: 174.5 kB / 1.214 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.958e-05/0.8862, allocations: 15.98 kB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.8862, allocations: 0 / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.8862, allocations: 0 / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.8866, allocations: 467.7 kB / 1.215 GB, free: 5.766 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002591/0.8869, allocations: 212.2 kB / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.8871, allocations: 0.6807 MB / 1.216 GB, free: 4.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.492e-05/0.8872, allocations: 15.92 kB / 1.216 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.8872, allocations: 7.438 kB / 1.216 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.8872, allocations: 4 kB / 1.216 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of Templates: time 0.002371/0.8896, allocations: 476.1 kB / 1.216 GB, free: 4.348 MB / 0.9356 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