Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.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.456/1.456, allocations: 249.3 MB / 261.8 MB, free: 5.961 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.001004/0.001004, allocations: 176.7 kB / 321.3 MB, free: 14.65 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.426/1.426, allocations: 205.2 MB / 0.572 GB, free: 10.61 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.001032/0.001032, allocations: 90.48 kB / 0.6764 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.837e-05, allocations: 4 kB / 0.7879 GB, free: 97.07 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.207, allocations: 106.3 MB / 0.8918 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7222/0.9293, allocations: 131.9 MB / 1.021 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/0.9296, allocations: 76.7 kB / 1.021 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006693/0.9363, allocations: 2.051 MB / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9363, allocations: 0 / 1.023 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.9364, allocations: 0 / 1.023 GB, free: 0.9922 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006649/0.937, allocations: 429.6 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.9371, allocations: 8.031 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.9372, allocations: 19.38 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.9374, allocations: 201.6 kB / 1.023 GB, free: 284 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/0.9374, allocations: 11.31 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.9375, allocations: 4 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.9377, allocations: 110.7 kB / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.9378, allocations: 0 / 1.023 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.9378, allocations: 7.766 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.9378, allocations: 4 kB / 1.023 GB, free: 172 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.938, allocations: 83.91 kB / 1.023 GB, free: 116 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007043/0.9387, allocations: 421.6 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006098/0.9393, allocations: 134.3 kB / 1.024 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9394, allocations: 50.19 kB / 1.024 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.9395, allocations: 8 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.9395, allocations: 30.56 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.9395, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.0003316/0.9398, allocations: 138.3 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.9399, allocations: 51.41 kB / 1.024 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.94, allocations: 138.6 kB / 1.024 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.9401, allocations: 25.7 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.158e-05/0.9401, allocations: 102.3 kB / 1.025 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.9402, allocations: 34.86 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.061e-05/0.9402, allocations: 3.062 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.9404, allocations: 318.7 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.9404, allocations: 37.3 kB / 1.025 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.9405, allocations: 50.17 kB / 1.025 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.037e-05/0.9406, allocations: 34.8 kB / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.9406, allocations: 0 / 1.025 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000233/0.9409, allocations: 139 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.9409, allocations: 4 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.9409, allocations: 4 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.9409, allocations: 0 / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002643/0.9412, allocations: 43.95 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.894e-06/0.9412, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.9414, allocations: 31.97 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.9414, allocations: 11.33 kB / 1.025 GB, free: 14.45 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.427e-05/0.9415, allocations: 105 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.9416, allocations: 18.7 kB / 1.025 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.757e-05/0.9416, allocations: 11.25 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.9416, allocations: 4 kB / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.9416, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9417, allocations: 0 / 1.025 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.9419, allocations: 248.5 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.942, allocations: 4 kB / 1.026 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.9422, allocations: 39.95 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.9422, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.9422, allocations: 4 kB / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9422, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9423, allocations: 0 / 1.026 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.9426, allocations: 239.2 kB / 1.026 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.9426, allocations: 88.89 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.9427, allocations: 4 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.9429, allocations: 27.16 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.943, allocations: 34.14 kB / 1.026 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.943, allocations: 4 kB / 1.026 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.766e-05/0.9431, allocations: 112.8 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9431, allocations: 0 / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002394/0.9434, allocations: 35.7 kB / 1.026 GB, free: 13.48 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete 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 (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.0001578/0.9435, allocations: 104.3 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.9438, allocations: 97.66 kB / 1.026 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.9438, allocations: 4 kB / 1.026 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.9439, allocations: 65.34 kB / 1.026 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.9441, allocations: 19.78 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.9446, allocations: 168.6 kB / 1.027 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.9449, allocations: 0.7082 MB / 1.027 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.945, allocations: 28.36 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/0.9451, allocations: 19.42 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of SimCode: time 3.5e-07/0.9451, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.004503/0.9496, allocations: 1.98 MB / 1.029 GB, free: 10.35 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches