Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001426/0.001426, 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.001077/0.001077, allocations: 165.6 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.477 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.938/1.938, allocations: 377.9 MB / 0.6247 GB, free: 8.379 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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.[0-9,]+.|mulSum_1.y|mulSum_2.u.[0-9,]+.|mulSum_2.y|mulSum_5.u.[0-9,]+.|mulSum_5.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8129 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.822e-05, allocations: 2.312 kB / 0.8129 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001453/0.001472, allocations: 0.8651 MB / 0.8137 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002611, allocations: 0.9176 MB / 0.8146 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.153e-05/0.002682, allocations: 8.625 kB / 0.8146 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.002791, allocations: 11.86 kB / 0.8146 GB, free: 15.56 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.002911, allocations: 33.28 kB / 0.8146 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003033, allocations: 36.83 kB / 0.8147 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.003216, allocations: 143.5 kB / 0.8148 GB, free: 15.35 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.003377, allocations: 33.52 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.003483, allocations: 76.88 kB / 0.8149 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.003602, allocations: 75.77 kB / 0.815 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.769e-05/0.00363, allocations: 17.66 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 2.072e-05/0.00365, allocations: 12 kB / 0.815 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/0.003704, allocations: 43.84 kB / 0.8151 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.003751, allocations: 43.83 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001555/0.003907, allocations: 127.5 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003909, allocations: 1.531 kB / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.01e-07/0.003909, allocations: 0 / 0.8152 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.003914, allocations: 3.938 kB / 0.8152 GB, free: 14.93 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000543/0.004457, allocations: 0.4983 MB / 0.8157 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.004488, allocations: 8.031 kB / 0.8157 GB, free: 14.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.578e-05/0.004534, allocations: 20.84 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.004941, allocations: 165.4 kB / 0.8159 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.004953, allocations: 8.375 kB / 0.8159 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.00497, allocations: 9.078 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002331/0.005203, allocations: 122.6 kB / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.00521, allocations: 192 / 0.816 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.005223, allocations: 4.375 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00523, allocations: 4.375 kB / 0.816 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.479e-05/0.005304, allocations: 24.55 kB / 0.8161 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005192/0.005823, allocations: 390.2 kB / 0.8164 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.005924, allocations: 52.36 kB / 0.8165 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.573e-05/0.00597, allocations: 27.67 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.005984, allocations: 4 kB / 0.8165 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.006005, allocations: 35.14 kB / 0.8166 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.006006, allocations: 3.938 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002126/0.006218, allocations: 93.83 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.006246, allocations: 51.41 kB / 0.8167 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.006372, allocations: 238 kB / 0.8169 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.006387, allocations: 25.7 kB / 0.8169 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.006451, allocations: 162.8 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.006482, allocations: 31.73 kB / 0.8171 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.00653, allocations: 31.36 kB / 0.8172 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.006668, allocations: 0.4962 MB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.743e-05/0.006705, allocations: 11.94 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.006737, allocations: 11.36 kB / 0.8177 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/0.00681, allocations: 35.62 kB / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006811, allocations: 0 / 0.8177 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001363/0.006948, allocations: 77.53 kB / 0.8178 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.00696, allocations: 8 kB / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.87e-06/0.006965, allocations: 0 / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.964e-06/0.006972, allocations: 0 / 0.8178 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.007101, allocations: 27.97 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.007103, allocations: 0.9688 kB / 0.8178 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.042e-05/0.007184, allocations: 23.88 kB / 0.8178 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.007193, allocations: 4.5 kB / 0.8178 GB, free: 12.07 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.447e-05/0.007278, allocations: 165 kB / 0.818 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.007314, allocations: 16.47 kB / 0.818 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.588e-05/0.00735, allocations: 22.58 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.007352, allocations: 4 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.007354, allocations: 0 / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.007357, allocations: 0.8125 kB / 0.818 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001674/0.007524, allocations: 141.2 kB / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.007525, allocations: 0 / 0.8182 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.007628, allocations: 34.06 kB / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.00763, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.007638, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.007639, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.00764, allocations: 0 / 0.8182 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.007819, allocations: 228.6 kB / 0.8184 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.603e-05/0.007835, allocations: 19.78 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.007852, allocations: 0.9375 kB / 0.8184 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.824e-05/0.00795, allocations: 15.98 kB / 0.8185 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.008001, allocations: 17.19 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.008009, allocations: 4 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.457e-05/0.008083, allocations: 167 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008083, allocations: 0.9688 kB / 0.8186 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000234/0.008317, allocations: 31.94 kB / 0.8187 GB, free: 11.17 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 (9): * Single equations (assignments): 9 * 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.7e-05/0.008394, allocations: 92.31 kB / 0.8188 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.008515, allocations: 40.36 kB / 0.8188 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.008517, allocations: 4.938 kB / 0.8188 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.628e-05/0.008574, allocations: 27.67 kB / 0.8188 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.00886, allocations: 38.39 kB / 0.8189 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004287/0.009289, allocations: 293.3 kB / 0.8191 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.009337, allocations: 71.92 kB / 0.8192 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.449e-05/0.009392, allocations: 10.11 kB / 0.8192 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.009501, allocations: 99.2 kB / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of SimCode: time 8.42e-07/0.009502, allocations: 0 / 0.8193 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of Templates: time 0.004211/0.01371, allocations: 2.262 MB / 0.8215 GB, free: 8.234 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.178241631016135]