Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.002058/0.002058, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002492/0.002492, allocations: 163.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.601/1.601, allocations: 177.1 MB / 202.8 MB, free: 9.148 MB / 190.1 MB " [Timeout remaining time 178] 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 2.952/2.952, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] 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.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulSum_1.u.1.|mulSum_1.y|mulSum_2.u.1.|mulSum_2.u.2.|mulSum_2.y|mulSum_5.u.1.|mulSum_5.u.2.|mulSum_5.u.3.|mulSum_5.u.4.|mulSum_5.u.5.|mulSum_5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.048e-06/4.048e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.65e-05/6.054e-05, allocations: 9.797 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002982/0.003042, allocations: 0.8409 MB / 1.001 GB, free: 6.375 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001913/0.004956, allocations: 0.9093 MB / 1.002 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.203e-05/0.005048, allocations: 4 kB / 1.002 GB, free: 5.449 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001963/0.005244, allocations: 23.8 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.005441, allocations: 23.73 kB / 1.002 GB, free: 5.402 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002073/0.005648, allocations: 43.94 kB / 1.002 GB, free: 5.359 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.00594, allocations: 139.5 kB / 1.002 GB, free: 5.223 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002854/0.006226, allocations: 33.52 kB / 1.002 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001837/0.006409, allocations: 79.8 kB / 1.002 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.006603, allocations: 67.84 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.006649, allocations: 16 kB / 1.002 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.656e-05/0.006685, allocations: 12 kB / 1.002 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.006794, allocations: 47.83 kB / 1.002 GB, free: 4.965 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.006919, allocations: 39.91 kB / 1.002 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003288/0.007247, allocations: 187.3 kB / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.007253, allocations: 0 / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.362e-06/0.007254, allocations: 0 / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.007261, allocations: 0 / 1.003 GB, free: 4.742 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001063/0.008324, allocations: 441.4 kB / 1.003 GB, free: 4.277 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.00837, allocations: 8.031 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.008425, allocations: 16.84 kB / 1.003 GB, free: 4.254 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.008681, allocations: 169.9 kB / 1.003 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.008704, allocations: 12.3 kB / 1.003 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.008727, allocations: 8.375 kB / 1.003 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000658/0.009385, allocations: 188.1 kB / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.009396, allocations: 192 / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.009413, allocations: 384 / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.009419, allocations: 384 / 1.003 GB, free: 3.855 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008321/0.01025, allocations: 227.7 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.01131, allocations: 436 kB / 1.004 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005035/0.01181, allocations: 142.5 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004006/0.01221, allocations: 120.8 kB / 1.004 GB, free: 2.906 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.01224, allocations: 4 kB / 1.004 GB, free: 2.902 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.01231, allocations: 34.56 kB / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.413e-06/0.01231, allocations: 0 / 1.004 GB, free: 2.859 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.001329/0.01364, allocations: 357.4 kB / 1.005 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.764e-05/0.0137, allocations: 63.41 kB / 1.005 GB, free: 2.43 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01391, allocations: 174.9 kB / 1.005 GB, free: 2.25 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01394, allocations: 29.7 kB / 1.005 GB, free: 2.215 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.01406, allocations: 120 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.562e-05/0.0141, allocations: 27.75 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.485e-05/0.01417, allocations: 29.7 kB / 1.005 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.01435, allocations: 326.8 kB / 1.005 GB, free: 1.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004188/0.01477, allocations: 103.9 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.01518, allocations: 99.89 kB / 1.006 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.01604, allocations: 220.6 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01604, allocations: 0 / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001034/0.01707, allocations: 265.9 kB / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.01709, allocations: 4.094 kB / 1.006 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.0171, allocations: 3.938 kB / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.01712, allocations: 0 / 1.006 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.01743, allocations: 43.95 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.01744, allocations: 4 kB / 1.006 GB, free: 0.9648 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.01764, allocations: 39.89 kB / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.01765, allocations: 0 / 1.006 GB, free: 0.9258 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 0.0001423/0.0178, allocations: 134.3 kB / 1.006 GB, free: 0.7852 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.35e-05/0.01784, allocations: 15.91 kB / 1.006 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.0179, allocations: 21.47 kB / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.0179, allocations: 0 / 1.006 GB, free: 0.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.01791, allocations: 4 kB / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01791, allocations: 0 / 1.006 GB, free: 0.7461 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.01818, allocations: 189 kB / 1.007 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01818, allocations: 0 / 1.007 GB, free: 0.5312 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.01843, allocations: 39.95 kB / 1.007 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01843, allocations: 3.938 kB / 1.007 GB, free: 500 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.01844, allocations: 4 kB / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01845, allocations: 0 / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.01845, allocations: 0 / 1.007 GB, free: 496 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.01937, allocations: 363.1 kB / 1.007 GB, free: 116 kB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.0194, allocations: 15.91 kB / 1.007 GB, free: 100 kB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.01942, allocations: 8 kB / 1.007 GB, free: 92 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.01966, allocations: 27.95 kB / 1.007 GB, free: 64 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/0.01975, allocations: 15.97 kB / 1.007 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.01977, allocations: 4 kB / 1.007 GB, free: 44 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001401/0.01991, allocations: 128.5 kB / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.01991, allocations: 0 / 1.007 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002521/0.02016, allocations: 28 kB / 1.007 GB, free: 15.89 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0001783/0.02034, allocations: 99.19 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008778/0.02121, allocations: 223.7 kB / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.02122, allocations: 0 / 1.007 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00041/0.02163, allocations: 119.8 kB / 1.008 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.02197, allocations: 23.86 kB / 1.008 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006922/0.02266, allocations: 314.6 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.02279, allocations: 110.2 kB / 1.008 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.614e-05/0.02288, allocations: 28.47 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.02296, allocations: 16.5 kB / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of SimCode: time 5.71e-07/0.02296, allocations: 0 / 1.008 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of Templates: time 0.005643/0.0286, allocations: 2.033 MB / 1.01 GB, free: 12.91 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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: 8.651075456291437]