Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.528/1.528, allocations: 249.3 MB / 261.9 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001155, allocations: 172.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 92.58 kB / 0.6764 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.917e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.187, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6981/0.8851, allocations: 131.6 MB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.8853, allocations: 74.05 kB / 1.02 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006273/0.8916, allocations: 2.096 MB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8917, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.8917, allocations: 4 kB / 1.022 GB, free: 1.211 MB / 0.6355 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.0007936/0.8925, allocations: 499 kB / 1.023 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8925, allocations: 12.02 kB / 1.023 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.8926, allocations: 15.81 kB / 1.023 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.8928, allocations: 222.2 kB / 1.023 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.8928, allocations: 7.375 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.8929, allocations: 10.81 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.8931, allocations: 125.3 kB / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.8931, allocations: 0 / 1.023 GB, free: 312 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.8932, allocations: 11.39 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.8932, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.8934, allocations: 113.8 kB / 1.023 GB, free: 224 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009982/0.8944, allocations: 0.5316 MB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.8945, allocations: 97.86 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.329e-05/0.8946, allocations: 62.27 kB / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.8947, allocations: 0 / 1.024 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.8947, allocations: 35.56 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.8947, allocations: 0 / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0002791/0.895, allocations: 144.5 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.895, allocations: 55.48 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8952, allocations: 174.9 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.8952, allocations: 25.7 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.515e-05/0.8952, allocations: 116.4 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.299e-05/0.8953, allocations: 34.55 kB / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.8953, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8954, allocations: 326 kB / 1.025 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.68e-05/0.8955, allocations: 41.55 kB / 1.025 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.8956, allocations: 45.47 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.785e-05/0.8957, allocations: 51.03 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8957, allocations: 4 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000246/0.8959, allocations: 140.5 kB / 1.025 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.8959, allocations: 8 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.896, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.896, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003193/0.8963, allocations: 59.94 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.779e-06/0.8963, allocations: 3.953 kB / 1.025 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.8966, allocations: 51.8 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.8966, allocations: 7.75 kB / 1.025 GB, free: 14.37 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.8967, allocations: 112.9 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.469e-05/0.8967, allocations: 11.89 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.797e-05/0.8968, allocations: 23.95 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.8968, allocations: 4 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.8968, allocations: 0 / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.8968, allocations: 4.234 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.8971, allocations: 256.3 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.8971, allocations: 3.984 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.8973, allocations: 59.89 kB / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8973, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.8974, allocations: 0 / 1.026 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.8974, allocations: 4 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.8974, allocations: 0 / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.8977, allocations: 246.9 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.056e-05/0.8977, allocations: 88.92 kB / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.8978, allocations: 0 / 1.026 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.898, allocations: 55.31 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.8981, allocations: 11.55 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.8981, allocations: 0 / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.982e-05/0.8982, allocations: 130.8 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8982, allocations: 0 / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000217/0.8984, allocations: 31.84 kB / 1.026 GB, free: 13.35 MB / 0.6511 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.8986, allocations: 106.6 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.8988, allocations: 106.5 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8988, allocations: 4 kB / 1.027 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.8989, allocations: 60.61 kB / 1.027 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.8992, allocations: 24.22 kB / 1.027 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000438/0.8996, allocations: 219.8 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.8999, allocations: 0.7274 MB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.868e-05/0.9, allocations: 24.41 kB / 1.028 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.9001, allocations: 11.44 kB / 1.028 GB, free: 12.1 MB / 0.6511 GB Notification: Performance of SimCode: time 4.2e-07/0.9001, allocations: 7.938 kB / 1.028 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.003576/0.9037, allocations: 1.5 MB / 1.029 GB, free: 10.63 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Continuous_Validation_MultiSum.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches