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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001874/0.001874, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 200.4 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.857/2.857, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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 0.001993/0.001993, allocations: 75.88 kB / 1.109 GB, free: 6.453 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8806/0.8826, allocations: 168.7 MB / 1.274 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002231/0.8848, allocations: 0.8822 MB / 1.275 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.8859, allocations: 0.8897 MB / 1.276 GB, free: 2.574 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.886, allocations: 4 kB / 1.276 GB, free: 2.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.8861, allocations: 15.8 kB / 1.276 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.8863, allocations: 27.72 kB / 1.276 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001302/0.8864, allocations: 43.94 kB / 1.276 GB, free: 2.484 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.8866, allocations: 135.6 kB / 1.276 GB, free: 2.352 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.8868, allocations: 33.34 kB / 1.276 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.278e-05/0.8869, allocations: 59.77 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001336/0.887, allocations: 83.72 kB / 1.276 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.8871, allocations: 16 kB / 1.276 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.491e-05/0.8871, allocations: 12 kB / 1.276 GB, free: 2.148 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.8871, allocations: 47.83 kB / 1.276 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.086e-05/0.8872, allocations: 63.59 kB / 1.276 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002155/0.8874, allocations: 173.9 kB / 1.277 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8874, allocations: 3.938 kB / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8874, allocations: 0 / 1.277 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.8874, allocations: 0 / 1.277 GB, free: 1.867 MB / 0.9669 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.001005/0.8885, allocations: 0.5141 MB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.8885, allocations: 8.031 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.8885, allocations: 20.8 kB / 1.277 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.8888, allocations: 224 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.8888, allocations: 4.375 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.8888, allocations: 12.38 kB / 1.277 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005611/0.8894, allocations: 186.1 kB / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8894, allocations: 192 / 1.277 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.8894, allocations: 3.938 kB / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.8894, allocations: 0 / 1.277 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.8902, allocations: 221.8 kB / 1.278 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.8912, allocations: 0.512 MB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004845/0.8917, allocations: 150.4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000392/0.8921, allocations: 112.7 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.8921, allocations: 4 kB / 1.278 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8922, allocations: 34.56 kB / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.8922, allocations: 0 / 1.278 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.001256/0.8934, allocations: 357.6 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8935, allocations: 63.34 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.8936, allocations: 175.6 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.557e-05/0.8937, allocations: 33.7 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.8937, allocations: 124 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.8938, allocations: 23.81 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.643e-05/0.8938, allocations: 21.72 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.894, allocations: 330.8 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.8943, allocations: 103.9 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000368/0.8947, allocations: 104.2 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.8955, allocations: 220.8 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8955, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008042/0.8963, allocations: 261.3 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.8963, allocations: 9.719 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.8963, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8963, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.8966, allocations: 43.95 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.8966, allocations: 3.938 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.8968, allocations: 39.88 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.8968, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 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.0001128/0.8969, allocations: 133.8 kB / 1.28 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.781e-05/0.897, allocations: 11.91 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.841e-05/0.897, allocations: 21.41 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.897, allocations: 8 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.897, allocations: 3.938 kB / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.897, allocations: 0 / 1.28 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002715/0.8973, allocations: 249.5 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8973, allocations: 0 / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.8975, allocations: 43.95 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.8975, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.8976, allocations: 3.984 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.8976, allocations: 4 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8976, allocations: 7.938 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008545/0.8984, allocations: 359.2 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.8985, allocations: 89.02 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.8985, allocations: 4 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002364/0.8987, allocations: 35.89 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.8988, allocations: 15.92 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8988, allocations: 0 / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001185/0.8989, allocations: 148.7 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8989, allocations: 0 / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002444/0.8992, allocations: 27.94 kB / 1.281 GB, free: 12.54 MB / 0.9825 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.0001483/0.8993, allocations: 107.7 kB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008195/0.9001, allocations: 223.7 kB / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.9001, allocations: 0 / 1.282 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003904/0.9005, allocations: 115.9 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.9008, allocations: 15.98 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005978/0.9014, allocations: 331.1 kB / 1.282 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.9018, allocations: 0.7236 MB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.392e-05/0.9019, allocations: 20.42 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.867e-05/0.9019, allocations: 15.44 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.9019, allocations: 480 / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of Templates: time 0.004783/0.9067, allocations: 1.938 MB / 1.285 GB, free: 9.027 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.843577800318599]