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.001394/0.001394, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.001473/0.001473, allocations: 169 kB / 24.28 MB, free: 272 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 1.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.862/1.862, allocations: 377.8 MB / 0.6239 GB, free: 8.539 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.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 3.206e-06/3.206e-06, allocations: 3.938 kB / 0.8116 GB, free: 1.945 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.184e-05/3.505e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002665/0.0027, allocations: 0.8652 MB / 0.8125 GB, free: 1.094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.004198, allocations: 0.9225 MB / 0.8134 GB, free: 164 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.852e-05/0.004267, allocations: 7.938 kB / 0.8134 GB, free: 156 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.004381, allocations: 11.86 kB / 0.8134 GB, free: 144 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.004496, allocations: 28.77 kB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.00012/0.004616, allocations: 40.72 kB / 0.8134 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.004789, allocations: 145.2 kB / 0.8136 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.004949, allocations: 33.53 kB / 0.8136 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.005044, allocations: 75.84 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.005151, allocations: 71.8 kB / 0.8137 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.045e-05/0.005182, allocations: 12 kB / 0.8138 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 1.583e-05/0.005197, allocations: 17.53 kB / 0.8138 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.005252, allocations: 47.81 kB / 0.8138 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.145e-05/0.005303, allocations: 43.84 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.005462, allocations: 123.5 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.005467, allocations: 1.375 kB / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.004e-06/0.005469, allocations: 0 / 0.814 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.005474, allocations: 0 / 0.814 GB, free: 15.52 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.0005905/0.006065, allocations: 0.5053 MB / 0.8145 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.006104, allocations: 13.22 kB / 0.8145 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.902e-05/0.006153, allocations: 20.84 kB / 0.8145 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.006319, allocations: 168.8 kB / 0.8147 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.006331, allocations: 10 kB / 0.8147 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.74e-05/0.006348, allocations: 8.375 kB / 0.8147 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.006576, allocations: 121.1 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.006583, allocations: 2.781 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.006596, allocations: 4.375 kB / 0.8148 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.006603, allocations: 4.375 kB / 0.8148 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.318e-05/0.006696, allocations: 35.91 kB / 0.8148 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.007227, allocations: 424.6 kB / 0.8153 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.007335, allocations: 60.64 kB / 0.8153 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.3e-05/0.007388, allocations: 27.62 kB / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.007401, allocations: 0 / 0.8153 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.007422, allocations: 37.94 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.032e-06/0.007423, allocations: 0.5 kB / 0.8154 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0002414/0.007664, allocations: 98.77 kB / 0.8155 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.007694, allocations: 55.34 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.00782, allocations: 231.8 kB / 0.8157 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.007834, allocations: 26.86 kB / 0.8158 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.42e-05/0.007908, allocations: 170.8 kB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.007939, allocations: 31.73 kB / 0.816 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.007978, allocations: 27.88 kB / 0.816 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.008095, allocations: 0.5049 MB / 0.8165 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.008136, allocations: 11.94 kB / 0.8165 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.008169, allocations: 8 kB / 0.8165 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.1e-05/0.00824, allocations: 36.58 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008242, allocations: 0 / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001182/0.00836, allocations: 94.36 kB / 0.8166 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.008372, allocations: 4 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.008376, allocations: 0 / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.008388, allocations: 2.156 kB / 0.8166 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.008507, allocations: 31.97 kB / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.008512, allocations: 0 / 0.8167 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.008567, allocations: 23.88 kB / 0.8167 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.008573, allocations: 2.625 kB / 0.8167 GB, free: 12.56 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 7.2e-05/0.008645, allocations: 168.5 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.008669, allocations: 19.89 kB / 0.8169 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.008703, allocations: 21.47 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.008705, allocations: 0 / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.008708, allocations: 0 / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.008711, allocations: 1.656 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.008848, allocations: 172.5 kB / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.00885, allocations: 0 / 0.8171 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.394e-05/0.008924, allocations: 23.98 kB / 0.8171 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.008926, allocations: 8.484 kB / 0.8171 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.008936, allocations: 8.562 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.008937, allocations: 0 / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.008938, allocations: 1.344 kB / 0.8171 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.009102, allocations: 231.7 kB / 0.8173 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.009114, allocations: 11.91 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.00913, allocations: 4.844 kB / 0.8173 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.0092, allocations: 23.91 kB / 0.8174 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.009256, allocations: 16.64 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.009261, allocations: 3.938 kB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.009325, allocations: 166.8 kB / 0.8175 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009325, allocations: 4 kB / 0.8175 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001572/0.009483, allocations: 27.94 kB / 0.8176 GB, free: 11.61 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 0.0001037/0.009586, allocations: 95.25 kB / 0.8177 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.00972, allocations: 44.36 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.009721, allocations: 0 / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.009778, allocations: 35.86 kB / 0.8177 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.01001, allocations: 29.83 kB / 0.8178 GB, free: 11.39 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004252/0.01044, allocations: 289.4 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.549e-05/0.01048, allocations: 80.39 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.965e-05/0.01053, allocations: 21.55 kB / 0.8181 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.532e-05/0.01058, allocations: 13.28 kB / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of SimCode: time 4.9e-07/0.01058, allocations: 0 / 0.8181 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of Templates: time 0.003428/0.01401, allocations: 2.056 MB / 0.8202 GB, free: 8.941 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.292642856016755]