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.001599/0.001599, allocations: 112.2 kB / 16.42 MB, free: 6.516 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.001686/0.001686, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.553/2.553, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.694/0.6954, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001748/0.6972, allocations: 0.604 MB / 1.209 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001357/0.6974, allocations: 11.94 kB / 1.209 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.6974, allocations: 8 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.21e-05/0.6975, allocations: 0 / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.593e-05/0.6976, allocations: 3.938 kB / 1.209 GB, free: 13 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.751e-05/0.6977, allocations: 3.984 kB / 1.209 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.6977, allocations: 27.92 kB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.6979, allocations: 31.97 kB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.05e-05/0.6979, allocations: 11.94 kB / 1.209 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 2.922e-05/0.698, allocations: 15.92 kB / 1.209 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.698, allocations: 4 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.188e-05/0.698, allocations: 4 kB / 1.209 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.698, allocations: 8 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.223e-05/0.6981, allocations: 23.88 kB / 1.209 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.6982, allocations: 47.73 kB / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.6982, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.6982, allocations: 0 / 1.209 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.6982, allocations: 4 kB / 1.209 GB, free: 12.82 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.0003282/0.6986, allocations: 347.1 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.6986, allocations: 8.031 kB / 1.21 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.6986, allocations: 8.844 kB / 1.21 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.6989, allocations: 178.3 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.6989, allocations: 4.375 kB / 1.21 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.6989, allocations: 8.375 kB / 1.21 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.6991, allocations: 82.11 kB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6991, allocations: 4.172 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.6991, allocations: 3.938 kB / 1.21 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.6991, allocations: 3.984 kB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.6992, allocations: 47.97 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004453/0.6996, allocations: 491 kB / 1.21 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/0.6997, allocations: 169.1 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.833e-05/0.6998, allocations: 80.14 kB / 1.211 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.6998, allocations: 75.28 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/0.6998, allocations: 109.8 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.6998, allocations: 0 / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.721e-05/0.6999, allocations: 41.58 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/0.7, allocations: 51.41 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.7001, allocations: 175.5 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7001, allocations: 25.7 kB / 1.211 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.7002, allocations: 96.05 kB / 1.211 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.7002, allocations: 3.984 kB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.7002, allocations: 9.719 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.532e-05/0.7003, allocations: 318.8 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.7003, allocations: 15.98 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.153e-05/0.7004, allocations: 4.031 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.63e-05/0.7004, allocations: 16.95 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.7004, allocations: 3.938 kB / 1.211 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001101/0.7005, allocations: 53.62 kB / 1.212 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.7006, allocations: 4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.7006, allocations: 0 / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7006, allocations: 4 kB / 1.212 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.7006, allocations: 8.078 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.7007, allocations: 3.938 kB / 1.212 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.7007, allocations: 7.906 kB / 1.212 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.7007, allocations: 4 kB / 1.212 GB, free: 10.18 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.507e-05/0.7008, allocations: 193.1 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.238e-05/0.7009, allocations: 116.8 kB / 1.212 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.88e-05/0.7009, allocations: 112.9 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.034e-05/0.701, allocations: 184.2 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.422e-05/0.701, allocations: 104.9 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.116e-05/0.7011, allocations: 186 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.869e-05/0.7012, allocations: 188.2 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.7013, allocations: 105 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.444e-05/0.7013, allocations: 176.3 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.278e-05/0.7014, allocations: 263.5 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001406/0.7015, allocations: 386.9 kB / 1.213 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.613e-05/0.7016, allocations: 105 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001034/0.7017, allocations: 129.3 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of Backend: time 3.11e-07/0.7017, allocations: 4 kB / 1.214 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003183/0.702, allocations: 94.27 kB / 1.214 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004906/0.7025, allocations: 0.8841 MB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.002355/0.7049, allocations: 0.5346 MB / 1.215 GB, free: 6.289 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/jenkins1/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