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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 104.6 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 183 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 71.89 kB / 0.9516 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.049, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002116/1.051, allocations: 0.8526 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001064/1.052, allocations: 0.8993 MB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.243e-05/1.052, allocations: 2.5 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001185/1.052, allocations: 9.609 kB / 1.09 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/1.053, allocations: 20.84 kB / 1.09 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/1.053, allocations: 54.2 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001858/1.053, allocations: 127.6 kB / 1.091 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/1.053, allocations: 47.86 kB / 1.091 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/1.053, allocations: 59.8 kB / 1.091 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/1.053, allocations: 77.77 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/1.053, allocations: 12.34 kB / 1.091 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.677e-05/1.053, allocations: 16.97 kB / 1.091 GB, free: 4.102 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.809e-05/1.054, allocations: 34.3 kB / 1.091 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.111e-05/1.054, allocations: 60.72 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002302/1.054, allocations: 147.9 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.054, allocations: 0.6094 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/1.054, allocations: 0 / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.326e-06/1.054, allocations: 1.219 kB / 1.091 GB, free: 3.977 MB / 0.8575 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.0008743/1.055, allocations: 441.5 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/1.055, allocations: 10.19 kB / 1.091 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.006e-05/1.055, allocations: 18.62 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/1.055, allocations: 207 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.055, allocations: 8.156 kB / 1.092 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/1.055, allocations: 8.875 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/1.056, allocations: 142.8 kB / 1.092 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/1.056, allocations: 4.688 kB / 1.092 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/1.056, allocations: 5.453 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/1.056, allocations: 2.094 kB / 1.092 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/1.056, allocations: 160.2 kB / 1.092 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006588/1.057, allocations: 415.7 kB / 1.092 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008777/1.058, allocations: 175.7 kB / 1.093 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/1.058, allocations: 87.55 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/1.058, allocations: 0.9688 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/1.058, allocations: 32.64 kB / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.213e-06/1.058, allocations: 0 / 1.093 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.00103/1.059, allocations: 284.4 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/1.059, allocations: 52.5 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/1.059, allocations: 149.4 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/1.059, allocations: 27.17 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/1.059, allocations: 112 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/1.059, allocations: 30.12 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/1.06, allocations: 31.48 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.448e-05/1.06, allocations: 320.7 kB / 1.094 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/1.06, allocations: 78.67 kB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002825/1.06, allocations: 76.22 kB / 1.094 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005692/1.061, allocations: 153.1 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.061, allocations: 0.8438 kB / 1.094 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006315/1.061, allocations: 212.4 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/1.061, allocations: 5.312 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.061, allocations: 0.6875 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.061, allocations: 5.438 kB / 1.094 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/1.062, allocations: 39.34 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.062, allocations: 0.7188 kB / 1.094 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/1.062, allocations: 28.02 kB / 1.094 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/1.062, allocations: 3.125 kB / 1.094 GB, free: 1.836 MB / 0.8575 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.y,add1.u[3],add1.u[2],add1.u[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.579e-05/1.062, allocations: 126.9 kB / 1.094 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/1.062, allocations: 12.44 kB / 1.094 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.835e-05/1.062, allocations: 17.78 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/1.062, allocations: 1.875 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.062, allocations: 0 / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.062, allocations: 0.7969 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/1.062, allocations: 234.7 kB / 1.095 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/1.062, allocations: 4 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/1.063, allocations: 43.41 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/1.063, allocations: 5.453 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/1.063, allocations: 3.094 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.063, allocations: 0.7188 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/1.063, allocations: 0.7188 kB / 1.095 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000664/1.063, allocations: 306.2 kB / 1.095 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.145e-05/1.063, allocations: 89.05 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/1.064, allocations: 2.141 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.064, allocations: 17 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.064, allocations: 38.58 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.064, allocations: 4.781 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.385e-05/1.064, allocations: 114.8 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/1.064, allocations: 4.688 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002594/1.064, allocations: 22.5 kB / 1.095 GB, free: 1.062 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000124/1.064, allocations: 100.1 kB / 1.095 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006673/1.065, allocations: 176.8 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.065, allocations: 0.7188 kB / 1.095 GB, free: 0.9336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003147/1.065, allocations: 89.67 kB / 1.096 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/1.066, allocations: 20.77 kB / 1.096 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/1.066, allocations: 273.3 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/1.066, allocations: 0.7072 MB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/1.067, allocations: 25.11 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of SimCode: time 3.4e-07/1.067, allocations: 0.6875 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of Templates: time 0.004234/1.071, allocations: 1.823 MB / 1.098 GB, free: 15.86 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches