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.001487/0.001487, allocations: 88.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001638/0.001638, allocations: 165.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.474/1.474, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.946/2.946, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0.875 kB / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.653e-05/2.918e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001765/0.001794, allocations: 0.6232 MB / 0.8114 GB, free: 1.52 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0001464/0.00194, allocations: 8.922 kB / 0.8114 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.2e-05/0.001982, allocations: 0 / 0.8114 GB, free: 1.512 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 9.104e-05/0.002073, allocations: 10.22 kB / 0.8114 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 3.093e-05/0.002104, allocations: 3.938 kB / 0.8114 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 6.7e-05/0.002171, allocations: 7.922 kB / 0.8114 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.00226, allocations: 27.92 kB / 0.8115 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.002378, allocations: 15.98 kB / 0.8115 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 4.782e-05/0.002426, allocations: 23.97 kB / 0.8115 GB, free: 1.426 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.435e-05/0.002461, allocations: 9.344 kB / 0.8115 GB, free: 1.418 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.00248, allocations: 4 kB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 1.007e-05/0.00249, allocations: 0 / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 3.435e-05/0.002525, allocations: 11.92 kB / 0.8115 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.002556, allocations: 9.594 kB / 0.8115 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.002667, allocations: 47.86 kB / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002669, allocations: 0 / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of FrontEnd: time 6.01e-07/0.00267, allocations: 0 / 0.8116 GB, free: 1.348 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.002673, allocations: 0.7188 kB / 0.8116 GB, free: 1.348 MB / 0.7605 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.0003837/0.003057, allocations: 274.2 kB / 0.8118 GB, free: 1.047 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.003093, allocations: 8.562 kB / 0.8118 GB, free: 1.039 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.003138, allocations: 12.83 kB / 0.8119 GB, free: 1.027 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.003347, allocations: 127 kB / 0.812 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.00336, allocations: 4.375 kB / 0.812 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.003375, allocations: 8.375 kB / 0.812 GB, free: 0.8672 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.003545, allocations: 78.75 kB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.003553, allocations: 1.562 kB / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.003562, allocations: 384 / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.003567, allocations: 384 / 0.8121 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.003659, allocations: 55.84 kB / 0.8121 GB, free: 0.7305 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.004177, allocations: 412.1 kB / 0.8125 GB, free: 304 kB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.004304, allocations: 177.1 kB / 0.8127 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/0.004349, allocations: 80.14 kB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.224e-05/0.004412, allocations: 76.5 kB / 0.8128 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.671e-05/0.004488, allocations: 109.8 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.004489, allocations: 4 kB / 0.8129 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 7.637e-05/0.004566, allocations: 27 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.004656, allocations: 134.6 kB / 0.8131 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001476/0.004804, allocations: 129.8 kB / 0.8132 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.004822, allocations: 30.45 kB / 0.8132 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.689e-05/0.004889, allocations: 84.09 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.004892, allocations: 5.688 kB / 0.8133 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.004941, allocations: 21.7 kB / 0.8134 GB, free: 15.37 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.005109, allocations: 314.8 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.005131, allocations: 11.98 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.547e-05/0.005146, allocations: 6.656 kB / 0.8137 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.256e-05/0.005189, allocations: 20.84 kB / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.00519, allocations: 0 / 0.8137 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001324/0.005322, allocations: 53.58 kB / 0.8137 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.005337, allocations: 4 kB / 0.8137 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.005341, allocations: 4 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.005357, allocations: 0.5 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.005409, allocations: 4.469 kB / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.787e-06/0.005413, allocations: 0 / 0.8138 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.005436, allocations: 9.922 kB / 0.8138 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.005447, allocations: 4 kB / 0.8138 GB, free: 14.93 MB / 0.7761 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.0001508/0.005598, allocations: 193.1 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.405e-05/0.005682, allocations: 109 kB / 0.8141 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.432e-05/0.005756, allocations: 110.2 kB / 0.8142 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.603e-05/0.005852, allocations: 180.3 kB / 0.8143 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-05/0.005948, allocations: 180.2 kB / 0.8145 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.681e-05/0.006045, allocations: 176.3 kB / 0.8147 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.006353, allocations: 380.8 kB / 0.815 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/0.006408, allocations: 105.7 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.762e-05/0.006466, allocations: 101.1 kB / 0.8152 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.006768, allocations: 184.7 kB / 0.8154 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.006871, allocations: 181.2 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001038/0.006975, allocations: 184.2 kB / 0.8158 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001036/0.007079, allocations: 184.2 kB / 0.8159 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000206/0.007285, allocations: 304.5 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.007354, allocations: 112.9 kB / 0.8163 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.007465, allocations: 185.5 kB / 0.8165 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.007593, allocations: 104.9 kB / 0.8166 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.007713, allocations: 180.3 kB / 0.8168 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.963e-05/0.007793, allocations: 105.8 kB / 0.8169 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001017/0.007895, allocations: 99.56 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007895, allocations: 1.219 kB / 0.817 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00027/0.008165, allocations: 7.938 kB / 0.817 GB, free: 11.46 MB / 0.7761 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.0001997/0.008364, allocations: 179.8 kB / 0.8172 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.492e-05/0.008459, allocations: 12 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.008462, allocations: 0 / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-06/0.008464, allocations: 0.9375 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005823/0.009047, allocations: 477.1 kB / 0.8176 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.009517, allocations: 204.9 kB / 0.8178 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.009641, allocations: 75.19 kB / 0.8179 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.009668, allocations: 1.094 kB / 0.8179 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.009717, allocations: 12.5 kB / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.009718, allocations: 0 / 0.8179 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of Templates: time 0.003045/0.01276, allocations: 319.3 kB / 0.8182 GB, free: 10.16 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins/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: 7.735982195008546]