Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.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.001275/0.001275, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001542/0.001542, allocations: 185 kB / 24.09 MB, free: 416 kB / 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 0.9763/0.9763, allocations: 177.1 MB / 204.5 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] 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 1.896/1.896, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] 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.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 0 / 0.812 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.83e-05, allocations: 2.312 kB / 0.812 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00221/0.002239, allocations: 0.8421 MB / 0.8129 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.003651, allocations: 0.9456 MB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.003724, allocations: 0.9375 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.00386, allocations: 11.86 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.003975, allocations: 20.78 kB / 0.8138 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000204/0.004179, allocations: 63.84 kB / 0.8139 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.004344, allocations: 128.3 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.004457, allocations: 26.17 kB / 0.814 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.004583, allocations: 75.86 kB / 0.8141 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.004716, allocations: 67.78 kB / 0.8142 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.074e-05/0.004747, allocations: 12.78 kB / 0.8142 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.732e-05/0.004774, allocations: 12 kB / 0.8142 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.004825, allocations: 37.58 kB / 0.8142 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.00488, allocations: 39.89 kB / 0.8142 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.005045, allocations: 107.6 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005047, allocations: 0 / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005048, allocations: 1.531 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.005051, allocations: 0 / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005639/0.005615, allocations: 452.1 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.005653, allocations: 9.625 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.37e-05/0.005706, allocations: 16.84 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.005875, allocations: 156.9 kB / 0.815 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.005897, allocations: 8.375 kB / 0.815 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/0.005916, allocations: 12.38 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.006164, allocations: 118.3 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.006172, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.006186, allocations: 8 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.006193, allocations: 0.625 kB / 0.8151 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.621e-05/0.006289, allocations: 36.55 kB / 0.8151 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.006789, allocations: 344.8 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.007089, allocations: 93.39 kB / 0.8156 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.007126, allocations: 23.67 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.007142, allocations: 3.984 kB / 0.8156 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.007165, allocations: 47.08 kB / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.007167, allocations: 0 / 0.8156 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001955/0.007362, allocations: 97.67 kB / 0.8157 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.00739, allocations: 56.5 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.836e-05/0.007488, allocations: 208 kB / 0.816 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.007501, allocations: 25.7 kB / 0.816 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.007556, allocations: 153.9 kB / 0.8161 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.007581, allocations: 31.73 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.007629, allocations: 39.34 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.007737, allocations: 0.4884 MB / 0.8167 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.007769, allocations: 15.98 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.757e-05/0.007797, allocations: 11.98 kB / 0.8167 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.145e-05/0.007868, allocations: 52.84 kB / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.007869, allocations: 0 / 0.8168 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001167/0.007986, allocations: 85.58 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.007997, allocations: 16.55 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.008001, allocations: 0.5625 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.649e-06/0.008011, allocations: 0 / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.008107, allocations: 24.83 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.00811, allocations: 3.938 kB / 0.8169 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.944e-05/0.00816, allocations: 9.078 kB / 0.8169 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.008167, allocations: 7.984 kB / 0.8169 GB, free: 12.27 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: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.32e-05/0.008241, allocations: 163 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.008264, allocations: 11.95 kB / 0.8171 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.00829, allocations: 16.78 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.008292, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.008295, allocations: 7.938 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.008297, allocations: 0.5312 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.008421, allocations: 145 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008422, allocations: 0.7188 kB / 0.8172 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.247e-05/0.008495, allocations: 28.73 kB / 0.8173 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.008498, allocations: 7.984 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.008505, allocations: 0.9375 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.008508, allocations: 4 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008509, allocations: 0 / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.008676, allocations: 241.6 kB / 0.8175 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.314e-05/0.008689, allocations: 15.89 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.008701, allocations: 0.8438 kB / 0.8175 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.659e-05/0.008767, allocations: 15.98 kB / 0.8175 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/0.008828, allocations: 38.17 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.008835, allocations: 4 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.008881, allocations: 148.8 kB / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.008881, allocations: 0 / 0.8177 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000154/0.009035, allocations: 24 kB / 0.8177 GB, free: 11.37 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 8.131e-05/0.009116, allocations: 96.38 kB / 0.8178 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.009225, allocations: 64.73 kB / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.92e-07/0.009226, allocations: 0 / 0.8179 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.149e-05/0.009287, allocations: 56.55 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001833/0.009471, allocations: 20.64 kB / 0.818 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.009809, allocations: 227.9 kB / 0.8182 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.009844, allocations: 63.34 kB / 0.8182 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.241e-05/0.009906, allocations: 26.34 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.01001, allocations: 94.19 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.01001, allocations: 3.188 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.00386/0.01387, allocations: 2.772 MB / 0.8211 GB, free: 7.941 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.149112529121339]