Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008063/0.0008063, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8794/0.8794, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.75/1.75, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.812e-05, allocations: 2.281 kB / 1.001 GB, free: 12.97 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001239/0.001257, allocations: 0.8068 MB / 1.002 GB, free: 12.16 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008202/0.002077, allocations: 0.9296 MB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.364e-05/0.002131, allocations: 3.938 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 9.456e-05/0.002226, allocations: 11.81 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 9.187e-05/0.002317, allocations: 15.86 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.002483, allocations: 63.8 kB / 1.003 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.002622, allocations: 131.7 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.002737, allocations: 33.23 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 7.724e-05/0.002814, allocations: 75.86 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.002919, allocations: 63.8 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.842e-05/0.002947, allocations: 12 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.002964, allocations: 12 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.003009, allocations: 35.89 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.003047, allocations: 39.89 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.003193, allocations: 155.5 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003195, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003196, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.938e-06/0.0032, allocations: 0 / 1.003 GB, free: 10.58 MB / 0.9636 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.0005147/0.003715, allocations: 373.7 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.003748, allocations: 9.344 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.003782, allocations: 16.84 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.003932, allocations: 146.2 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.003948, allocations: 8.375 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.531e-05/0.003964, allocations: 4.375 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000249/0.004213, allocations: 163.8 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.00422, allocations: 0 / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.004234, allocations: 4 kB / 1.004 GB, free: 9.812 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.004239, allocations: 4 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000287/0.004526, allocations: 151.8 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.004914, allocations: 340.2 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004377/0.005352, allocations: 166.4 kB / 1.005 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.005502, allocations: 84.89 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.00552, allocations: 8 kB / 1.005 GB, free: 9.031 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.551e-05/0.005535, allocations: 38.55 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=10): time 8.82e-07/0.005536, allocations: 0 / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10): time 0.0005169/0.006053, allocations: 273.5 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004728/0.006526, allocations: 59.41 kB / 1.005 GB, free: 8.641 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.011e-05/0.006616, allocations: 153.2 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.00663, allocations: 29.7 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.006676, allocations: 108 kB / 1.005 GB, free: 8.332 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.582e-05/0.006702, allocations: 27.75 kB / 1.005 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.006744, allocations: 29.7 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.291e-05/0.006817, allocations: 322.8 kB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/0.006957, allocations: 71.92 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.007089, allocations: 75.92 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.007359, allocations: 156.7 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.007362, allocations: 3.984 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003204/0.007682, allocations: 209.4 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.007692, allocations: 4 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.007696, allocations: 0 / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.007708, allocations: 3.938 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.007822, allocations: 36.61 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.007825, allocations: 4 kB / 1.006 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.294e-05/0.007898, allocations: 23.97 kB / 1.006 GB, free: 7.359 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.007909, allocations: 7.984 kB / 1.006 GB, free: 7.352 MB / 0.9636 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 7.495e-05/0.007984, allocations: 117.8 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.999e-05/0.008004, allocations: 7.953 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.008034, allocations: 20.77 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.008037, allocations: 7.875 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.008042, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008045, allocations: 11.88 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.008176, allocations: 161.2 kB / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.008177, allocations: 0 / 1.007 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.484e-05/0.008272, allocations: 35.95 kB / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.008273, allocations: 0 / 1.007 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.008284, allocations: 11.98 kB / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008285, allocations: 0 / 1.007 GB, free: 6.945 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.008287, allocations: 3.938 kB / 1.007 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003474/0.008634, allocations: 299.3 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.008647, allocations: 15.84 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.008663, allocations: 4 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.008751, allocations: 23.97 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.596e-05/0.008827, allocations: 39.88 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.008833, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.049e-05/0.008884, allocations: 121.3 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008884, allocations: 0 / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001637/0.009047, allocations: 20 kB / 1.007 GB, free: 6.414 MB / 0.9636 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 7.437e-05/0.009122, allocations: 103.2 kB / 1.007 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003302/0.009452, allocations: 163.8 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-06/0.009453, allocations: 0 / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.009606, allocations: 95.86 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.009796, allocations: 16.45 kB / 1.007 GB, free: 6.031 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.01016, allocations: 270.8 kB / 1.008 GB, free: 5.734 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.803e-05/0.01022, allocations: 97.25 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/0.01028, allocations: 24.48 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.01028, allocations: 0 / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of Templates: time 0.002188/0.01247, allocations: 1.861 MB / 1.01 GB, free: 3.746 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.524220613762736]