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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001534/0.001534, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001693/0.001693, allocations: 195.7 kB / 16.14 MB, free: 6.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.465/1.465, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.137/3.137, allocations: 482.4 MB / 0.7542 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 68.2 kB / 0.9231 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3476, allocations: 162.2 MB / 1.082 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00235/0.35, allocations: 0.6702 MB / 1.082 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.3502, allocations: 19.92 kB / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.3503, allocations: 0 / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.606e-05/0.3504, allocations: 0 / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.116e-05/0.3504, allocations: 0 / 1.082 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.565e-05/0.3505, allocations: 4 kB / 1.082 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.66e-05/0.3506, allocations: 27.92 kB / 1.082 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3508, allocations: 27.98 kB / 1.082 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.3508, allocations: 11.94 kB / 1.082 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.818e-05/0.3508, allocations: 15.92 kB / 1.082 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.3509, allocations: 4 kB / 1.082 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.3509, allocations: 0 / 1.082 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.3509, allocations: 11.88 kB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.579e-05/0.351, allocations: 31.84 kB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.204e-05/0.3511, allocations: 35.89 kB / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.3511, allocations: 0 / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3511, allocations: 0 / 1.082 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.3511, allocations: 0 / 1.082 GB, free: 12.86 MB / 0.8419 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.0004652/0.3516, allocations: 353.3 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3516, allocations: 8.031 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.722e-05/0.3516, allocations: 8.844 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.3519, allocations: 192.1 kB / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.3519, allocations: 384 / 1.083 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.446e-05/0.3519, allocations: 12.38 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.3521, allocations: 78.16 kB / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.3521, allocations: 192 / 1.083 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3521, allocations: 7.938 kB / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3521, allocations: 0 / 1.083 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.3522, allocations: 47.97 kB / 1.083 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.3529, allocations: 479.1 kB / 1.084 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.353, allocations: 185.1 kB / 1.084 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.3531, allocations: 84.12 kB / 1.084 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.3531, allocations: 75.28 kB / 1.084 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.3533, allocations: 105.8 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3533, allocations: 0 / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.356e-05/0.3534, allocations: 33.7 kB / 1.084 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.3535, allocations: 126.7 kB / 1.084 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.3538, allocations: 175.7 kB / 1.084 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3538, allocations: 29.64 kB / 1.084 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.354, allocations: 96.12 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.354, allocations: 4.094 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.3541, allocations: 17.66 kB / 1.084 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3543, allocations: 322.8 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.3543, allocations: 8 kB / 1.085 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.3543, allocations: 11.98 kB / 1.085 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.3543, allocations: 8.859 kB / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3544, allocations: 0 / 1.085 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001513/0.3545, allocations: 57.58 kB / 1.085 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.3545, allocations: 4 kB / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.3545, allocations: 0 / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.3546, allocations: 0 / 1.085 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.859e-05/0.3546, allocations: 12.03 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3547, allocations: 3.938 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.3547, allocations: 7.938 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3547, allocations: 3.938 kB / 1.085 GB, free: 10.12 MB / 0.8419 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.0001427/0.3548, allocations: 197.1 kB / 1.085 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.3549, allocations: 108.9 kB / 1.085 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001853/0.3551, allocations: 120.6 kB / 1.085 GB, free: 9.684 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.993e-05/0.3552, allocations: 184.2 kB / 1.085 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002188/0.3555, allocations: 180.2 kB / 1.086 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001102/0.3556, allocations: 180.2 kB / 1.086 GB, free: 9.129 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.356, allocations: 417.2 kB / 1.086 GB, free: 8.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.455e-05/0.3561, allocations: 108.9 kB / 1.086 GB, free: 8.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.513e-05/0.3562, allocations: 109 kB / 1.086 GB, free: 8.438 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.712e-05/0.3563, allocations: 180.3 kB / 1.087 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.3564, allocations: 180.2 kB / 1.087 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001196/0.3565, allocations: 184.3 kB / 1.087 GB, free: 7.883 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001482/0.3567, allocations: 184.1 kB / 1.087 GB, free: 7.695 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.3569, allocations: 308.1 kB / 1.087 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.3571, allocations: 198 kB / 1.088 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.3573, allocations: 180.2 kB / 1.088 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3574, allocations: 108.9 kB / 1.088 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.3576, allocations: 180.2 kB / 1.088 GB, free: 6.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.3576, allocations: 105 kB / 1.088 GB, free: 6.562 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001389/0.3578, allocations: 132.6 kB / 1.088 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3578, allocations: 0 / 1.088 GB, free: 6.434 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002725/0.358, allocations: 8 kB / 1.088 GB, free: 6.426 MB / 0.8419 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.0002321/0.3583, allocations: 178.4 kB / 1.088 GB, free: 6.242 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001138/0.3584, allocations: 15.98 kB / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3584, allocations: 0 / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-06/0.3584, allocations: 64 / 1.088 GB, free: 6.227 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007676/0.3592, allocations: 0.5276 MB / 1.089 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.3597, allocations: 206 kB / 1.089 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/0.3602, allocations: 0.6926 MB / 1.09 GB, free: 4.746 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.32e-05/0.3603, allocations: 7.984 kB / 1.09 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3603, allocations: 11.38 kB / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of SimCode: time 2.91e-07/0.3603, allocations: 0 / 1.09 GB, free: 4.727 MB / 0.8419 GB Notification: Performance of Templates: time 0.003373/0.3637, allocations: 458 kB / 1.09 GB, free: 4.293 MB / 0.8419 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=400 -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