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.0009469/0.0009469, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009252/0.0009252, allocations: 169 kB / 24.28 MB, free: 276 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.9782/0.9782, allocations: 177.2 MB / 204.6 MB, free: 5.602 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.909/1.909, allocations: 377.8 MB / 0.6239 GB, free: 8.523 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.883e-06/1.883e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.909e-05, allocations: 3.25 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001332/0.001351, allocations: 0.8517 MB / 0.8124 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009028/0.002254, allocations: 0.9334 MB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.002318, allocations: 1.031 kB / 0.8133 GB, free: 272 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001208/0.002438, allocations: 15.8 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.002553, allocations: 21.44 kB / 0.8133 GB, free: 236 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.002755, allocations: 59.8 kB / 0.8134 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.002897, allocations: 131.7 kB / 0.8135 GB, free: 44 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.003013, allocations: 33.28 kB / 0.8135 GB, free: 12 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 9.546e-05/0.003108, allocations: 73.41 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.003221, allocations: 63.84 kB / 0.8137 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.003251, allocations: 19.92 kB / 0.8137 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.613e-05/0.003267, allocations: 12 kB / 0.8137 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.003314, allocations: 33.66 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.003357, allocations: 39.89 kB / 0.8138 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003489, allocations: 103.6 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.003491, allocations: 0 / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.12e-07/0.003491, allocations: 0 / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.003495, allocations: 1.219 kB / 0.8139 GB, free: 15.68 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.0004723/0.003967, allocations: 452.1 kB / 0.8143 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.004001, allocations: 9.188 kB / 0.8143 GB, free: 15.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.004053, allocations: 28.84 kB / 0.8143 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.004205, allocations: 160.8 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.004224, allocations: 5.156 kB / 0.8145 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.004243, allocations: 8.375 kB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.004449, allocations: 124.4 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.004457, allocations: 0 / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.004469, allocations: 0 / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.004477, allocations: 4 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.36e-05/0.004571, allocations: 41.17 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.004983, allocations: 360 kB / 0.815 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003809/0.005364, allocations: 108.6 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.069e-05/0.005425, allocations: 28.38 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.00544, allocations: 4.031 kB / 0.8151 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.005462, allocations: 38.33 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=10): time 1.783e-06/0.005464, allocations: 3.938 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10): time 0.0002657/0.00573, allocations: 114.4 kB / 0.8153 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.005757, allocations: 52 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.005858, allocations: 212.9 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.005871, allocations: 25.7 kB / 0.8156 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.00593, allocations: 162.7 kB / 0.8157 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.005956, allocations: 27.75 kB / 0.8157 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.006001, allocations: 36.17 kB / 0.8158 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.00611, allocations: 0.4923 MB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.006154, allocations: 16.86 kB / 0.8163 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.058e-05/0.006194, allocations: 19.98 kB / 0.8163 GB, free: 13 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.00629, allocations: 48.89 kB / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006292, allocations: 0 / 0.8163 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001432/0.006435, allocations: 98.48 kB / 0.8164 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.006449, allocations: 10.3 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006452, allocations: 0 / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.006466, allocations: 7.938 kB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.006575, allocations: 23.97 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.00658, allocations: 4 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/0.006632, allocations: 8 kB / 0.8165 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.006641, allocations: 15.33 kB / 0.8165 GB, free: 12.79 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 6.972e-05/0.006711, allocations: 160.6 kB / 0.8167 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.006735, allocations: 11.95 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.006763, allocations: 12.78 kB / 0.8167 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.006769, allocations: 15.91 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.006772, allocations: 0 / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006774, allocations: 0 / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.006908, allocations: 160.5 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006909, allocations: 0.9375 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.422e-05/0.006983, allocations: 27.97 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.006986, allocations: 12.44 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.006995, allocations: 0.5625 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.006995, allocations: 0.5625 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.006997, allocations: 3.938 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001907/0.007188, allocations: 249.5 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.475e-05/0.007203, allocations: 13 kB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.007217, allocations: 0 / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.007283, allocations: 11.98 kB / 0.8172 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.007361, allocations: 44.48 kB / 0.8172 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.007369, allocations: 8 kB / 0.8172 GB, free: 12 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.277e-05/0.007422, allocations: 149.7 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.007422, allocations: 1.094 kB / 0.8174 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001501/0.007572, allocations: 20 kB / 0.8174 GB, free: 11.84 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 7.388e-05/0.007646, allocations: 103.2 kB / 0.8175 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.007791, allocations: 71.62 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.007793, allocations: 0 / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.007862, allocations: 51.59 kB / 0.8176 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.008061, allocations: 26.39 kB / 0.8176 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/0.008445, allocations: 233.7 kB / 0.8178 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.993e-05/0.008485, allocations: 68.38 kB / 0.8179 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.321e-05/0.008548, allocations: 22.41 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.665e-05/0.008615, allocations: 32.48 kB / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.008616, allocations: 0 / 0.818 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of Templates: time 0.004201/0.01282, allocations: 2.601 MB / 0.8205 GB, free: 8.637 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.296248254133388]