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.009604/0.009605, allocations: 102.3 kB / 15.73 MB, free: 6.055 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.001545/0.001545, allocations: 191 kB / 16.67 MB, free: 5.969 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.483/1.483, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.26/2.26, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 0.9509 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.032, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002178/1.034, allocations: 0.8453 MB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00118/1.035, allocations: 0.8987 MB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.295e-05/1.035, allocations: 2.219 kB / 1.09 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/1.035, allocations: 13.83 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/1.035, allocations: 11.83 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/1.036, allocations: 62.42 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000228/1.036, allocations: 128.8 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/1.036, allocations: 48.31 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/1.036, allocations: 62.02 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/1.036, allocations: 79.22 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/1.036, allocations: 12.75 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.704e-05/1.036, allocations: 11.88 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.211e-05/1.036, allocations: 29.89 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/1.037, allocations: 61.73 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002498/1.037, allocations: 143.7 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.037, allocations: 0 / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.037, allocations: 0.875 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.792e-06/1.037, allocations: 4 kB / 1.09 GB, free: 3.957 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.0009146/1.038, allocations: 439.5 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/1.038, allocations: 8.344 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.772e-05/1.038, allocations: 20.34 kB / 1.091 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/1.038, allocations: 205 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/1.038, allocations: 13 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/1.038, allocations: 6.062 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004727/1.039, allocations: 150.1 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.039, allocations: 0.5625 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.916e-05/1.039, allocations: 1.469 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/1.039, allocations: 2.75 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/1.039, allocations: 167.7 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007087/1.04, allocations: 412.3 kB / 1.092 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009219/1.041, allocations: 170.3 kB / 1.092 GB, free: 2.832 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003296/1.041, allocations: 84.28 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/1.041, allocations: 0.8125 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/1.041, allocations: 40.89 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 2.465e-06/1.041, allocations: 3.984 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.001065/1.042, allocations: 279.8 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.903e-05/1.042, allocations: 52.5 kB / 1.092 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/1.043, allocations: 154.3 kB / 1.092 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/1.043, allocations: 26.89 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.676e-05/1.043, allocations: 111.9 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/1.043, allocations: 29.59 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/1.043, allocations: 31.33 kB / 1.093 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.267e-05/1.043, allocations: 321.7 kB / 1.093 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/1.043, allocations: 74.44 kB / 1.093 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/1.044, allocations: 75.98 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005893/1.044, allocations: 161 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.044, allocations: 5.859 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006712/1.045, allocations: 199.9 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/1.045, allocations: 4.844 kB / 1.093 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.045, allocations: 5.031 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.045, allocations: 4.812 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002723/1.045, allocations: 39.23 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/1.045, allocations: 1.688 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/1.045, allocations: 22.36 kB / 1.093 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/1.045, allocations: 4.5 kB / 1.093 GB, free: 1.816 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.71e-05/1.045, allocations: 122.9 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/1.045, allocations: 12.28 kB / 1.094 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/1.046, allocations: 21.67 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/1.046, allocations: 0.9375 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.046, allocations: 1 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/1.046, allocations: 0.7031 kB / 1.094 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002631/1.046, allocations: 238.5 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/1.046, allocations: 1 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/1.046, allocations: 43.72 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/1.046, allocations: 1.062 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/1.046, allocations: 2.188 kB / 1.094 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.046, allocations: 5.875 kB / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.046, allocations: 0 / 1.094 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007317/1.047, allocations: 301.7 kB / 1.094 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/1.047, allocations: 88.77 kB / 1.094 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.047, allocations: 5.578 kB / 1.094 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/1.047, allocations: 26.64 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/1.047, allocations: 30.17 kB / 1.094 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/1.047, allocations: 8.531 kB / 1.094 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.522e-05/1.047, allocations: 111.6 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/1.047, allocations: 0 / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002667/1.048, allocations: 23.56 kB / 1.094 GB, free: 1.047 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.0001636/1.048, allocations: 107.8 kB / 1.095 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000767/1.049, allocations: 165.2 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.049, allocations: 0.6562 kB / 1.095 GB, free: 0.9219 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003895/1.049, allocations: 105.2 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003224/1.049, allocations: 16.44 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000729/1.05, allocations: 246.3 kB / 1.095 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/1.05, allocations: 0.711 MB / 1.096 GB, free: 8 kB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001176/1.05, allocations: 20.03 kB / 1.096 GB, free: 4 kB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/1.051, allocations: 26.48 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of SimCode: time 2.81e-07/1.051, allocations: 1.125 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of Templates: time 0.007157/1.058, allocations: 2.407 MB / 1.098 GB, free: 15.83 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/jenkins/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