Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.317/2.317, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 185 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.639/1.639, allocations: 223.2 MB / 0.7948 GB, free: 17.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008597/0.00086, allocations: 96.31 kB / 0.9346 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003608, allocations: 10 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3201, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.195/0.5151, allocations: 149.3 MB / 1.369 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.5154, allocations: 71.89 kB / 1.369 GB, free: 12.73 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006321/0.5217, allocations: 2.011 MB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5217, allocations: 4 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.5218, allocations: 0 / 1.371 GB, free: 10.72 MB / 0.8698 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.0006897/0.5225, allocations: 442.9 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5225, allocations: 12.03 kB / 1.371 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.255e-05/0.5226, allocations: 15.81 kB / 1.371 GB, free: 10.21 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.5228, allocations: 204.3 kB / 1.371 GB, free: 9.969 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.5228, allocations: 8 kB / 1.371 GB, free: 9.961 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/0.5229, allocations: 8 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.5233, allocations: 165.5 kB / 1.371 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.5233, allocations: 3.953 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.5234, allocations: 3.938 kB / 1.372 GB, free: 9.777 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.5234, allocations: 4 kB / 1.372 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000561/0.5239, allocations: 191.8 kB / 1.372 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006371/0.5246, allocations: 412.5 kB / 1.372 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008847/0.5255, allocations: 194.4 kB / 1.372 GB, free: 8.934 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.5255, allocations: 7.984 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.5256, allocations: 34.59 kB / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.333e-06/0.5256, allocations: 0 / 1.372 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0009762/0.5266, allocations: 329.5 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.5266, allocations: 59.52 kB / 1.373 GB, free: 8.484 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.5267, allocations: 132.2 kB / 1.373 GB, free: 8.344 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.5268, allocations: 25.7 kB / 1.373 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5269, allocations: 112 kB / 1.373 GB, free: 8.199 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.5269, allocations: 27.56 kB / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.5269, allocations: 0 / 1.373 GB, free: 8.172 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.527, allocations: 326.8 kB / 1.373 GB, free: 7.844 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002752/0.5273, allocations: 95.86 kB / 1.373 GB, free: 7.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.5276, allocations: 91.92 kB / 1.373 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.5279, allocations: 91.92 kB / 1.374 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.5279, allocations: 0 / 1.374 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006009/0.5285, allocations: 230 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5285, allocations: 4 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.5285, allocations: 0 / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.5285, allocations: 4 kB / 1.374 GB, free: 7.332 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.5288, allocations: 48.05 kB / 1.374 GB, free: 7.285 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.5288, allocations: 11.92 kB / 1.374 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001824/0.529, allocations: 27.92 kB / 1.374 GB, free: 7.246 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.529, allocations: 4 kB / 1.374 GB, free: 7.242 MB / 0.8698 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.0001207/0.5292, allocations: 125.8 kB / 1.374 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.5292, allocations: 11.81 kB / 1.374 GB, free: 7.098 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.779e-05/0.5293, allocations: 24.64 kB / 1.374 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.5293, allocations: 3.984 kB / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.5293, allocations: 0 / 1.374 GB, free: 7.066 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5293, allocations: 4 kB / 1.374 GB, free: 7.062 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.5296, allocations: 237.5 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.5296, allocations: 0 / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.5298, allocations: 51.95 kB / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5298, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5299, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.5299, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.5299, allocations: 0 / 1.374 GB, free: 6.73 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.5305, allocations: 339.2 kB / 1.375 GB, free: 6.383 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.71e-05/0.5306, allocations: 92.86 kB / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.5306, allocations: 0 / 1.375 GB, free: 6.273 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.5308, allocations: 35.95 kB / 1.375 GB, free: 6.238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.5309, allocations: 27.97 kB / 1.375 GB, free: 6.211 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.5309, allocations: 7.984 kB / 1.375 GB, free: 6.203 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.486e-05/0.531, allocations: 113 kB / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.531, allocations: 0 / 1.375 GB, free: 6.094 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002452/0.5313, allocations: 27.92 kB / 1.375 GB, free: 6.066 MB / 0.8698 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.0001516/0.5314, allocations: 115 kB / 1.375 GB, free: 5.945 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006275/0.5321, allocations: 195.8 kB / 1.375 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.5321, allocations: 0 / 1.375 GB, free: 5.754 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.5324, allocations: 124.1 kB / 1.375 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.5326, allocations: 20.97 kB / 1.375 GB, free: 5.613 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/0.5331, allocations: 269 kB / 1.376 GB, free: 5.32 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.5334, allocations: 0.7082 MB / 1.376 GB, free: 4.586 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.5336, allocations: 28.36 kB / 1.376 GB, free: 4.559 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.5336, allocations: 19.42 kB / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of SimCode: time 2.21e-07/0.5336, allocations: 0 / 1.376 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.004317/0.538, allocations: 1.971 MB / 1.378 GB, free: 2.586 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches