Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001429/0.001429, allocations: 84.39 kB / 20.23 MB, free: 4.32 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.001685/0.001685, allocations: 165.7 kB / 23.54 MB, free: 1.012 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 1.504/1.504, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.823/2.823, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 1.203 kB / 0.7864 GB, free: 11.63 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.241e-05, allocations: 6.531 kB / 0.7865 GB, free: 11.63 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002234/0.002266, allocations: 0.8457 MB / 0.7873 GB, free: 10.8 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.00376, allocations: 0.9062 MB / 0.7882 GB, free: 9.883 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.517e-05/0.003845, allocations: 4 kB / 0.7882 GB, free: 9.879 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.003968, allocations: 24.27 kB / 0.7882 GB, free: 9.855 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001429/0.004111, allocations: 28.62 kB / 0.7882 GB, free: 9.828 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.00426, allocations: 40.58 kB / 0.7883 GB, free: 9.789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.004511, allocations: 148.4 kB / 0.7884 GB, free: 9.645 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.004699, allocations: 33.52 kB / 0.7884 GB, free: 9.609 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001592/0.004858, allocations: 76.61 kB / 0.7885 GB, free: 9.535 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.005012, allocations: 67.84 kB / 0.7886 GB, free: 9.469 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.005049, allocations: 12.75 kB / 0.7886 GB, free: 9.457 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.953e-05/0.005078, allocations: 19.94 kB / 0.7886 GB, free: 9.438 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.446e-05/0.005153, allocations: 40.45 kB / 0.7886 GB, free: 9.398 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.005236, allocations: 49.44 kB / 0.7887 GB, free: 9.352 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002822/0.005518, allocations: 175.4 kB / 0.7889 GB, free: 9.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.005521, allocations: 0 / 0.7889 GB, free: 9.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.22e-07/0.005522, allocations: 0 / 0.7889 GB, free: 9.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.005532, allocations: 4 kB / 0.7889 GB, free: 9.176 MB / 0.698 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.001119/0.006651, allocations: 444.6 kB / 0.7893 GB, free: 8.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.006693, allocations: 8.875 kB / 0.7893 GB, free: 8.703 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.59e-05/0.006779, allocations: 28.8 kB / 0.7893 GB, free: 8.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.007033, allocations: 157.5 kB / 0.7895 GB, free: 8.496 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.007051, allocations: 12.88 kB / 0.7895 GB, free: 8.484 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.007079, allocations: 9.125 kB / 0.7895 GB, free: 8.477 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006353/0.007714, allocations: 178.6 kB / 0.7897 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.007722, allocations: 1.438 kB / 0.7897 GB, free: 8.301 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.922e-05/0.007742, allocations: 4.375 kB / 0.7897 GB, free: 8.297 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.007749, allocations: 4.375 kB / 0.7897 GB, free: 8.293 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008599/0.008609, allocations: 229.5 kB / 0.7899 GB, free: 8.074 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.009721, allocations: 424.8 kB / 0.7903 GB, free: 7.629 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005055/0.01023, allocations: 145.4 kB / 0.7904 GB, free: 7.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000436/0.01066, allocations: 119.3 kB / 0.7905 GB, free: 7.363 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.01068, allocations: 4 kB / 0.7905 GB, free: 7.359 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.693e-05/0.01072, allocations: 30.56 kB / 0.7906 GB, free: 7.32 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.01072, allocations: 0 / 0.7906 GB, free: 7.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.001388/0.01211, allocations: 366.9 kB / 0.7909 GB, free: 6.961 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.01216, allocations: 55.39 kB / 0.791 GB, free: 6.895 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.01239, allocations: 182 kB / 0.7912 GB, free: 6.711 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.01241, allocations: 25.7 kB / 0.7912 GB, free: 6.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01254, allocations: 124 kB / 0.7913 GB, free: 6.555 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.01259, allocations: 36.25 kB / 0.7913 GB, free: 6.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.01266, allocations: 18.22 kB / 0.7913 GB, free: 6.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.01288, allocations: 331.3 kB / 0.7917 GB, free: 6.164 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.0133, allocations: 109.5 kB / 0.7918 GB, free: 6.059 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004105/0.01371, allocations: 105.8 kB / 0.7919 GB, free: 5.957 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007939/0.01451, allocations: 216.5 kB / 0.7921 GB, free: 5.746 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.01451, allocations: 0 / 0.7921 GB, free: 5.746 MB / 0.698 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008812/0.01539, allocations: 263.6 kB / 0.7923 GB, free: 5.488 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.01542, allocations: 9.719 kB / 0.7923 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01543, allocations: 0 / 0.7923 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.01545, allocations: 0 / 0.7923 GB, free: 5.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.01579, allocations: 43.94 kB / 0.7924 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.0158, allocations: 0.5938 kB / 0.7924 GB, free: 5.438 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.01605, allocations: 33.02 kB / 0.7924 GB, free: 5.406 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.01606, allocations: 0 / 0.7924 GB, free: 5.406 MB / 0.698 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.0001604/0.01622, allocations: 134.8 kB / 0.7925 GB, free: 5.266 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/0.01627, allocations: 19.91 kB / 0.7926 GB, free: 5.246 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.897e-05/0.01634, allocations: 26.45 kB / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01635, allocations: 0 / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.01635, allocations: 0 / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.01636, allocations: 1.344 kB / 0.7926 GB, free: 5.219 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.01663, allocations: 177.2 kB / 0.7928 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01664, allocations: 0 / 0.7928 GB, free: 5.016 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002622/0.0169, allocations: 44.81 kB / 0.7928 GB, free: 4.973 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.01691, allocations: 8.656 kB / 0.7928 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.01692, allocations: 0.6562 kB / 0.7928 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.01692, allocations: 0 / 0.7928 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01692, allocations: 2.188 kB / 0.7928 GB, free: 4.965 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009656/0.01789, allocations: 366.8 kB / 0.7932 GB, free: 4.594 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.556e-05/0.01791, allocations: 11.89 kB / 0.7932 GB, free: 4.582 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.01794, allocations: 4 kB / 0.7932 GB, free: 4.578 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.01818, allocations: 36.88 kB / 0.7932 GB, free: 4.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/0.01828, allocations: 11.98 kB / 0.7932 GB, free: 4.531 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.0183, allocations: 9.109 kB / 0.7932 GB, free: 4.523 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001487/0.01844, allocations: 136.3 kB / 0.7934 GB, free: 4.391 MB / 0.698 GB Notification: Performance of sort global known variables: time 7e-08/0.01844, allocations: 0 / 0.7934 GB, free: 4.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002742/0.01872, allocations: 29.05 kB / 0.7934 GB, free: 4.363 MB / 0.698 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.0001733/0.01889, allocations: 100.2 kB / 0.7935 GB, free: 4.254 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008946/0.01979, allocations: 225 kB / 0.7937 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01979, allocations: 0 / 0.7937 GB, free: 4.035 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000437/0.02023, allocations: 115.8 kB / 0.7938 GB, free: 3.922 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.02059, allocations: 38.16 kB / 0.7938 GB, free: 3.887 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.02135, allocations: 312.5 kB / 0.7941 GB, free: 3.555 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001409/0.02149, allocations: 114.2 kB / 0.7942 GB, free: 3.426 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.02159, allocations: 28.41 kB / 0.7943 GB, free: 3.398 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.814e-05/0.02166, allocations: 12.5 kB / 0.7943 GB, free: 3.387 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.02166, allocations: 0 / 0.7943 GB, free: 3.387 MB / 0.698 GB Notification: Performance of Templates: time 0.006001/0.02766, allocations: 2.04 MB / 0.7963 GB, free: 1.387 MB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.977092538960278]