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.001109/0.001109, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001093/0.001093, allocations: 166.8 kB / 24.87 MB, free: 8.891 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.943/1.943, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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 1.543e-06/1.543e-06, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.273e-05/1.428e-05, allocations: 4.219 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001673/0.001688, allocations: 0.8416 MB / 0.8136 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0008166/0.002504, allocations: 0.9379 MB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.002562, allocations: 0 / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 9.956e-05/0.002662, allocations: 16.64 kB / 0.8145 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.002747, allocations: 20.38 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002889, allocations: 60.48 kB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.003022, allocations: 131.7 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.003123, allocations: 30.19 kB / 0.8148 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.003202, allocations: 71.88 kB / 0.8148 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.00331, allocations: 72.48 kB / 0.8149 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.003335, allocations: 15.94 kB / 0.8149 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.537e-05/0.00335, allocations: 12.88 kB / 0.8149 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.542e-05/0.003395, allocations: 27.91 kB / 0.815 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.003436, allocations: 45.14 kB / 0.815 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.003557, allocations: 103.6 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003559, allocations: 0 / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.51e-07/0.003559, allocations: 0 / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.003563, allocations: 1.469 kB / 0.8151 GB, free: 15.09 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.0004206/0.003984, allocations: 452 kB / 0.8155 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.004015, allocations: 12.03 kB / 0.8155 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.004052, allocations: 22.34 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.004182, allocations: 148.9 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.004201, allocations: 8.375 kB / 0.8157 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/0.004214, allocations: 4.375 kB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.004412, allocations: 119.6 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004419, allocations: 0.625 kB / 0.8158 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.004434, allocations: 12 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.00444, allocations: 1.094 kB / 0.8159 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.813e-05/0.004508, allocations: 31.92 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.00486, allocations: 342.7 kB / 0.8162 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.005142, allocations: 98.91 kB / 0.8163 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.005184, allocations: 28.41 kB / 0.8163 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.535e-05/0.0052, allocations: 4 kB / 0.8163 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.717e-05/0.005217, allocations: 38.09 kB / 0.8164 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.005218, allocations: 3.938 kB / 0.8164 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0001965/0.005414, allocations: 107 kB / 0.8165 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.005442, allocations: 55.41 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.066e-05/0.005532, allocations: 204.3 kB / 0.8167 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.005547, allocations: 30.83 kB / 0.8168 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.005599, allocations: 154.7 kB / 0.8169 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.005627, allocations: 31.73 kB / 0.8169 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.005671, allocations: 36.05 kB / 0.817 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.005779, allocations: 0.4962 MB / 0.8175 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.252e-05/0.005811, allocations: 16.7 kB / 0.8175 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.914e-05/0.00584, allocations: 13.27 kB / 0.8175 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.149e-05/0.005912, allocations: 39.67 kB / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005914, allocations: 0 / 0.8175 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001213/0.006035, allocations: 91.42 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.006045, allocations: 4 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.006049, allocations: 0 / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.006058, allocations: 4 kB / 0.8176 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.006153, allocations: 25.31 kB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-06/0.006157, allocations: 11.88 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.126e-05/0.006208, allocations: 12.95 kB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.006217, allocations: 4 kB / 0.8177 GB, free: 12.29 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.724e-05/0.006295, allocations: 166.9 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.006319, allocations: 7.953 kB / 0.8178 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.476e-05/0.006344, allocations: 16.78 kB / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.006346, allocations: 0 / 0.8178 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.006348, allocations: 3.938 kB / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006351, allocations: 0 / 0.8178 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001279/0.006479, allocations: 144.5 kB / 0.818 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.006481, allocations: 3.984 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.006556, allocations: 23.98 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.006557, allocations: 3.938 kB / 0.818 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.006567, allocations: 7.984 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006567, allocations: 0 / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.006569, allocations: 3.938 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.006727, allocations: 243.8 kB / 0.8183 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.13e-05/0.006739, allocations: 12.62 kB / 0.8183 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.006752, allocations: 7.938 kB / 0.8183 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.473e-05/0.006817, allocations: 13.05 kB / 0.8183 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.00688, allocations: 35.95 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.006886, allocations: 0.5625 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.611e-05/0.006932, allocations: 154.9 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006932, allocations: 0 / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001508/0.007083, allocations: 24 kB / 0.8185 GB, free: 11.38 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 6.757e-05/0.007151, allocations: 100.7 kB / 0.8186 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.007261, allocations: 57.27 kB / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.007262, allocations: 0 / 0.8186 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.468e-05/0.007327, allocations: 56.38 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007519, allocations: 26.95 kB / 0.8187 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.007816, allocations: 234 kB / 0.819 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.205e-05/0.007848, allocations: 63.34 kB / 0.819 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.007904, allocations: 15.58 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.008007, allocations: 103.2 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.008008, allocations: 4 kB / 0.8191 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of Templates: time 0.004239/0.01225, allocations: 2.835 MB / 0.8219 GB, free: 7.891 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.347141796257347]