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.0007867/0.0007867, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.0007855/0.0007855, allocations: 178.2 kB / 23.21 MB, free: 1.34 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.8673/0.8673, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.792/1.792, allocations: 389 MB / 0.6338 GB, free: 12.7 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.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 1.853e-06/1.853e-06, allocations: 0 / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.527e-05, allocations: 2.281 kB / 1.001 GB, free: 12.93 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.001353/0.001378, allocations: 0.8414 MB / 1.002 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000865/0.002243, allocations: 0.9016 MB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.082e-05/0.002304, allocations: 7.875 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.00241, allocations: 19.81 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.002519, allocations: 27.78 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.002629, allocations: 39.94 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001492/0.002778, allocations: 139.5 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.002937, allocations: 33.52 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.084e-05/0.003027, allocations: 83.78 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.003136, allocations: 67.86 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.035e-05/0.003166, allocations: 12 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.003179, allocations: 19.94 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.412e-05/0.003234, allocations: 47.83 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.003276, allocations: 39.91 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.003444, allocations: 187.3 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.003446, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.133e-06/0.003448, allocations: 0 / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.003452, allocations: 0 / 1.003 GB, free: 10.45 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000688/0.00414, allocations: 441.4 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.004178, allocations: 8.75 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.637e-05/0.004214, allocations: 20.84 kB / 1.004 GB, free: 9.961 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.004373, allocations: 162.8 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.004384, allocations: 4.375 kB / 1.004 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.0044, allocations: 12.38 kB / 1.004 GB, free: 9.762 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.004723, allocations: 188.1 kB / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.004733, allocations: 192 / 1.004 GB, free: 9.574 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.004746, allocations: 4.375 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004751, allocations: 384 / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003883/0.005139, allocations: 223.7 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000576/0.005715, allocations: 436 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.005968, allocations: 147.2 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.006158, allocations: 116.7 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.006174, allocations: 4 kB / 1.005 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.006193, allocations: 30.56 kB / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.006194, allocations: 0 / 1.005 GB, free: 8.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0006491/0.006843, allocations: 361.8 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.006876, allocations: 55.5 kB / 1.005 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.00699, allocations: 183.4 kB / 1.006 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.007007, allocations: 33.7 kB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.007063, allocations: 124 kB / 1.006 GB, free: 7.805 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.007088, allocations: 23.75 kB / 1.006 GB, free: 7.781 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.007124, allocations: 21.72 kB / 1.006 GB, free: 7.754 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.007203, allocations: 334.8 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.007387, allocations: 107.8 kB / 1.006 GB, free: 7.312 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.00756, allocations: 99.89 kB / 1.006 GB, free: 7.215 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.00791, allocations: 212.6 kB / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.007912, allocations: 0 / 1.007 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003919/0.008304, allocations: 265.3 kB / 1.007 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.008317, allocations: 4 kB / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008322, allocations: 0 / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.008335, allocations: 0 / 1.007 GB, free: 6.734 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.008479, allocations: 43.94 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.008484, allocations: 0 / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.778e-05/0.008571, allocations: 47.89 kB / 1.007 GB, free: 6.645 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.008579, allocations: 0 / 1.007 GB, free: 6.645 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: 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 7.501e-05/0.008654, allocations: 137.7 kB / 1.007 GB, free: 6.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.008673, allocations: 15.91 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.22e-05/0.008706, allocations: 21.47 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008708, allocations: 288 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.008712, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.008715, allocations: 0 / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.008851, allocations: 189 kB / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008852, allocations: 0 / 1.007 GB, free: 6.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.008958, allocations: 39.95 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00896, allocations: 3.938 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.00897, allocations: 8 kB / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.031e-06/0.008971, allocations: 0 / 1.007 GB, free: 6.195 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.008972, allocations: 4 kB / 1.007 GB, free: 6.191 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.009395, allocations: 363.1 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.146e-05/0.009407, allocations: 11.91 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.00942, allocations: 0 / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.009523, allocations: 39.95 kB / 1.008 GB, free: 5.77 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.009574, allocations: 7.984 kB / 1.008 GB, free: 5.762 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.00958, allocations: 7.984 kB / 1.008 GB, free: 5.754 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.009642, allocations: 128.4 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009642, allocations: 4 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001585/0.009801, allocations: 20 kB / 1.008 GB, free: 5.605 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: 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.0001009/0.009902, allocations: 103.2 kB / 1.008 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.01032, allocations: 223.7 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.01032, allocations: 0 / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.01051, allocations: 111.9 kB / 1.008 GB, free: 5.168 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.01075, allocations: 40.25 kB / 1.008 GB, free: 5.129 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.01119, allocations: 340.2 kB / 1.009 GB, free: 4.766 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.253e-05/0.01126, allocations: 114.2 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.734e-05/0.01132, allocations: 16.5 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.01132, allocations: 0 / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of Templates: time 0.00252/0.01384, allocations: 2.094 MB / 1.011 GB, free: 2.539 MB / 0.9636 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: 6.718829014338553]