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.471/1.471, allocations: 249.5 MB / 257 MB, free: 6.965 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.001023/0.001023, allocations: 188.7 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0009378/0.0009375, allocations: 100.4 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.724e-05/1.727e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1972, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.741/0.9383, allocations: 132.1 MB / 1.014 GB, free: 5.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.9386, allocations: 66.72 kB / 1.014 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006587/0.9452, allocations: 2.043 MB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9452, allocations: 4 kB / 1.016 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.9453, allocations: 0 / 1.016 GB, free: 3.848 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.0006681/0.9459, allocations: 429.6 kB / 1.017 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.946, allocations: 8.031 kB / 1.017 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.79e-05/0.946, allocations: 15.81 kB / 1.017 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.9463, allocations: 203.3 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.9463, allocations: 7.938 kB / 1.017 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.9464, allocations: 4 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001927/0.9466, allocations: 82.72 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.9468, allocations: 97.19 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.9468, allocations: 3.953 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.9468, allocations: 7.922 kB / 1.017 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.9468, allocations: 4 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.9475, allocations: 383.6 kB / 1.018 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005662/0.9481, allocations: 125.1 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.9481, allocations: 52.45 kB / 1.018 GB, free: 2.461 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.9482, allocations: 4 kB / 1.018 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.9482, allocations: 38.44 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.9482, allocations: 3.938 kB / 1.018 GB, free: 2.41 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0003115/0.9485, allocations: 120.5 kB / 1.018 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.9486, allocations: 55.34 kB / 1.018 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.9487, allocations: 132.1 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.9488, allocations: 25.7 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.9489, allocations: 103.5 kB / 1.018 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.9489, allocations: 27.55 kB / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.9489, allocations: 0 / 1.018 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.9491, allocations: 337 kB / 1.019 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.9492, allocations: 34.73 kB / 1.019 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.104e-05/0.9492, allocations: 36.5 kB / 1.019 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.9493, allocations: 34.78 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/0.9493, allocations: 7.953 kB / 1.019 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000217/0.9496, allocations: 122.2 kB / 1.019 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.9496, allocations: 4 kB / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.9496, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.9496, allocations: 0 / 1.019 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.9499, allocations: 47.95 kB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.9499, allocations: 0 / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.9501, allocations: 27.97 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.9501, allocations: 8.359 kB / 1.019 GB, free: 1.375 MB / 0.6355 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 0.0001008/0.9502, allocations: 114.7 kB / 1.019 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.9503, allocations: 11.86 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.9503, allocations: 15.38 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.9503, allocations: 3.938 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9504, allocations: 0 / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.9504, allocations: 3.984 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.9506, allocations: 202.3 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9506, allocations: 4.859 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.9509, allocations: 50.77 kB / 1.019 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.9509, allocations: 3.953 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.9509, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.9509, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.9509, allocations: 2.75 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.9512, allocations: 223 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.442e-05/0.9513, allocations: 92.89 kB / 1.02 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.9513, allocations: 3.953 kB / 1.02 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.9516, allocations: 27.97 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.9517, allocations: 30.02 kB / 1.02 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.9517, allocations: 7.438 kB / 1.02 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.766e-05/0.9518, allocations: 106.5 kB / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9518, allocations: 0 / 1.02 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002588/0.952, allocations: 23.91 kB / 1.02 GB, free: 480 kB / 0.6355 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.0001714/0.9522, allocations: 111 kB / 1.02 GB, free: 360 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001928/0.9524, allocations: 91.91 kB / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9524, allocations: 0 / 1.02 GB, free: 296 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.9525, allocations: 58.23 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.9527, allocations: 13.23 kB / 1.02 GB, free: 244 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003905/0.9531, allocations: 158.3 kB / 1.02 GB, free: 88 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003004/0.9535, allocations: 0.7118 MB / 1.021 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001201/0.9536, allocations: 28.36 kB / 1.021 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.445e-05/0.9537, allocations: 19.42 kB / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of SimCode: time 2.61e-07/0.9537, allocations: 0 / 1.021 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of Templates: time 0.004157/0.9578, allocations: 1.859 MB / 1.023 GB, free: 13.47 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