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.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001482, allocations: 175.2 kB / 326.5 MB, free: 2.258 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.71/1.71, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.0009326/0.0009326, allocations: 95.23 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 9.719 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2488, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.4215, allocations: 131.9 MB / 1.029 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002549/0.4219, allocations: 71.95 kB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006678/0.4286, allocations: 2.047 MB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4286, allocations: 7.875 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.418e-06/0.4286, allocations: 4 kB / 1.031 GB, free: 9.703 MB / 0.6823 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.0007095/0.4293, allocations: 450.7 kB / 1.031 GB, free: 9.215 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4294, allocations: 12.03 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.4294, allocations: 11.89 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.4297, allocations: 206.9 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4297, allocations: 8 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.4297, allocations: 12 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004318/0.4302, allocations: 161.5 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4302, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.4302, allocations: 7.953 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.4302, allocations: 4 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005528/0.4308, allocations: 187.8 kB / 1.032 GB, free: 8.57 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.4315, allocations: 416.5 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008425/0.4324, allocations: 186.4 kB / 1.033 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4324, allocations: 4.141 kB / 1.033 GB, free: 7.918 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.4324, allocations: 42.58 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.4324, allocations: 0 / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0009753/0.4334, allocations: 321.5 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.4335, allocations: 51.41 kB / 1.033 GB, free: 7.484 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.4336, allocations: 130.1 kB / 1.033 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4336, allocations: 29.7 kB / 1.033 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.799e-05/0.4337, allocations: 119.9 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.4337, allocations: 23.7 kB / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.4338, allocations: 0 / 1.033 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.4339, allocations: 326.8 kB / 1.034 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.4342, allocations: 92.59 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.4344, allocations: 92.23 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.4347, allocations: 92.06 kB / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4347, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005964/0.4353, allocations: 237.4 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4354, allocations: 4 kB / 1.034 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.4354, allocations: 7.938 kB / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.4354, allocations: 0 / 1.034 GB, free: 6.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.4357, allocations: 47.95 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4357, allocations: 0 / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001873/0.4359, allocations: 35.81 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.4359, allocations: 11.98 kB / 1.034 GB, free: 6.223 MB / 0.6823 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 () * Number of clocked 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.0001134/0.436, allocations: 128 kB / 1.034 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.4361, allocations: 7.906 kB / 1.034 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/0.4361, allocations: 16.72 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4361, allocations: 0 / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4361, allocations: 7.922 kB / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4362, allocations: 0 / 1.034 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000254/0.4364, allocations: 237.5 kB / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.4364, allocations: 0 / 1.035 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002523/0.4367, allocations: 47.95 kB / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4367, allocations: 0 / 1.035 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.4367, allocations: 3.984 kB / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4367, allocations: 0 / 1.035 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4367, allocations: 4 kB / 1.035 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006593/0.4374, allocations: 339.1 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.4375, allocations: 85.02 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.4375, allocations: 4.172 kB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002119/0.4377, allocations: 31.97 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.4378, allocations: 35.89 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4378, allocations: 11.94 kB / 1.035 GB, free: 5.191 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.121e-05/0.4379, allocations: 115.4 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4379, allocations: 0 / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002391/0.4382, allocations: 27.94 kB / 1.035 GB, free: 5.055 MB / 0.6823 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 () * Number of clocked 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.0001556/0.4383, allocations: 111.2 kB / 1.035 GB, free: 4.938 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005961/0.439, allocations: 199.8 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.439, allocations: 0 / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.4393, allocations: 115.8 kB / 1.036 GB, free: 4.629 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.4395, allocations: 15.95 kB / 1.036 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.44, allocations: 269.2 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.4403, allocations: 0.7121 MB / 1.037 GB, free: 3.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00012/0.4404, allocations: 24.42 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.621e-05/0.4405, allocations: 23.42 kB / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of SimCode: time 5.01e-07/0.4405, allocations: 0 / 1.037 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of Templates: time 0.004313/0.4448, allocations: 1.97 MB / 1.039 GB, free: 1.586 MB / 0.6823 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