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.001443/0.001443, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.00162/0.00162, allocations: 165 kB / 23.82 MB, free: 0.75 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 0.9721/0.9721, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.871/1.871, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.084e-06/2.084e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.38e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.00146/0.001484, allocations: 0.8453 MB / 0.8124 GB, free: 0.8633 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.002444, allocations: 0.9469 MB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.012e-05/0.002504, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000123/0.002627, allocations: 7.875 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001078/0.002735, allocations: 23.73 kB / 0.8133 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.002911, allocations: 60.95 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.003057, allocations: 131.7 kB / 0.8135 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.003192, allocations: 25.92 kB / 0.8135 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003292, allocations: 79.8 kB / 0.8136 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.003423, allocations: 69.25 kB / 0.8137 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.003457, allocations: 12 kB / 0.8137 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.088e-05/0.003477, allocations: 12 kB / 0.8137 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.202e-05/0.003539, allocations: 36.53 kB / 0.8137 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.212e-05/0.003592, allocations: 35.89 kB / 0.8138 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.003752, allocations: 104.6 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.003754, allocations: 0 / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.42e-07/0.003755, allocations: 0 / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.003761, allocations: 4.594 kB / 0.8139 GB, free: 15.32 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.00079/0.004551, allocations: 456.9 kB / 0.8143 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.004592, allocations: 8.031 kB / 0.8143 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.239e-05/0.004644, allocations: 26.09 kB / 0.8143 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.004807, allocations: 144.9 kB / 0.8145 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.004831, allocations: 12.31 kB / 0.8145 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.00485, allocations: 10.25 kB / 0.8145 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.005081, allocations: 124.6 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.005092, allocations: 0 / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.005106, allocations: 5.094 kB / 0.8146 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.005116, allocations: 4 kB / 0.8146 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.747e-05/0.005213, allocations: 45.69 kB / 0.8147 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.00565, allocations: 359.5 kB / 0.815 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.006007, allocations: 104.5 kB / 0.8151 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.006068, allocations: 31.88 kB / 0.8152 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.006093, allocations: 8.906 kB / 0.8152 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.006117, allocations: 37.39 kB / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.253e-06/0.006118, allocations: 0 / 0.8152 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002864/0.006405, allocations: 115.2 kB / 0.8153 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.006435, allocations: 51.41 kB / 0.8154 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.006563, allocations: 209.7 kB / 0.8156 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.006581, allocations: 29.7 kB / 0.8156 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.006654, allocations: 154.8 kB / 0.8157 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.362e-05/0.006688, allocations: 31.73 kB / 0.8158 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-05/0.006736, allocations: 35.36 kB / 0.8158 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.006877, allocations: 0.4968 MB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.006926, allocations: 12.67 kB / 0.8163 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.515e-05/0.006971, allocations: 19.98 kB / 0.8163 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.7e-05/0.007068, allocations: 53.3 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.00707, allocations: 0 / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001592/0.00723, allocations: 98.05 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.007246, allocations: 4 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.007251, allocations: 1.25 kB / 0.8165 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.007272, allocations: 7.938 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.007397, allocations: 25.06 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.007406, allocations: 7.938 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.536e-05/0.007461, allocations: 7.984 kB / 0.8165 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.007473, allocations: 8.938 kB / 0.8165 GB, free: 12.43 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 9.195e-05/0.007565, allocations: 161.4 kB / 0.8167 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.007595, allocations: 19.94 kB / 0.8167 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.007634, allocations: 13.72 kB / 0.8167 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.007639, allocations: 7.938 kB / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.007643, allocations: 0 / 0.8167 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.007648, allocations: 9.266 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.00779, allocations: 164.5 kB / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007791, allocations: 0 / 0.8169 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.19e-05/0.007873, allocations: 28.81 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.007875, allocations: 0 / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.007887, allocations: 9.984 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.007887, allocations: 0 / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.00789, allocations: 3.938 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.008094, allocations: 239.8 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.00811, allocations: 19.89 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.008125, allocations: 0.7188 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-05/0.008193, allocations: 11.44 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.008299, allocations: 39.89 kB / 0.8172 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.008312, allocations: 7.984 kB / 0.8172 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.745e-05/0.0084, allocations: 152.8 kB / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0084, allocations: 0 / 0.8174 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001657/0.008565, allocations: 20 kB / 0.8174 GB, free: 11.48 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.275e-05/0.008648, allocations: 99.19 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.008812, allocations: 64.98 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.008813, allocations: 0.5312 kB / 0.8175 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.993e-05/0.008893, allocations: 57.23 kB / 0.8176 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.009108, allocations: 23.92 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003986/0.009507, allocations: 231.8 kB / 0.8178 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.584e-05/0.009552, allocations: 71.92 kB / 0.8179 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.146e-05/0.009614, allocations: 25.72 kB / 0.8179 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.009689, allocations: 33.42 kB / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of SimCode: time 6.82e-07/0.009689, allocations: 0 / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of Templates: time 0.003822/0.01351, allocations: 2.599 MB / 0.8205 GB, free: 8.289 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.199038140010089]