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.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.001685/0.001685, allocations: 113.2 kB / 17.08 MB, free: 6.012 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.001935/0.001935, allocations: 193.2 kB / 20.03 MB, free: 3.082 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.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.12/3.12, allocations: 489.3 MB / 0.7687 GB, free: 3.957 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.001985/0.001985, allocations: 71.89 kB / 1.103 GB, free: 0.7734 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9808/0.9828, allocations: 163.8 MB / 1.263 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiSum): time 0.002568/0.9854, allocations: 0.8932 MB / 1.264 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.9866, allocations: 0.8782 MB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.9867, allocations: 2.188 kB / 1.264 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.9868, allocations: 15.66 kB / 1.264 GB, free: 6.777 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.987, allocations: 31.09 kB / 1.264 GB, free: 6.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.9871, allocations: 38.41 kB / 1.264 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.9873, allocations: 139.7 kB / 1.265 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.9875, allocations: 51.36 kB / 1.265 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.9876, allocations: 56.59 kB / 1.265 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.9878, allocations: 88.95 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.034e-05/0.9878, allocations: 12.94 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.831e-05/0.9879, allocations: 12.41 kB / 1.265 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.9879, allocations: 41.86 kB / 1.265 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.292e-05/0.988, allocations: 67.88 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.9883, allocations: 177.4 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.9883, allocations: 0.6875 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9883, allocations: 0 / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.9883, allocations: 0 / 1.265 GB, free: 6.453 MB / 0.9981 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.0009176/0.9892, allocations: 0.5026 MB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9893, allocations: 10 kB / 1.266 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/0.9893, allocations: 16.53 kB / 1.266 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.9895, allocations: 224.5 kB / 1.266 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.9895, allocations: 8.219 kB / 1.266 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.9896, allocations: 9.375 kB / 1.266 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005551/0.9901, allocations: 177.7 kB / 1.266 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9902, allocations: 0.9844 kB / 1.266 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.9902, allocations: 8.844 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.9902, allocations: 2.562 kB / 1.266 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008175/0.991, allocations: 231.9 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009813/0.992, allocations: 0.5116 MB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.9925, allocations: 153.2 kB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.9929, allocations: 115.5 kB / 1.267 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.993, allocations: 4.875 kB / 1.267 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.388e-05/0.993, allocations: 32.2 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.993, allocations: 0.7812 kB / 1.267 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.001337/0.9943, allocations: 362.2 kB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.9944, allocations: 52.72 kB / 1.267 GB, free: 5.023 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.9945, allocations: 186.3 kB / 1.268 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.9946, allocations: 35.23 kB / 1.268 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.377e-05/0.9946, allocations: 120.3 kB / 1.268 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.9947, allocations: 30.28 kB / 1.268 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.9947, allocations: 21.94 kB / 1.268 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.63e-05/0.9948, allocations: 323.1 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004034/0.9952, allocations: 104.7 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.9956, allocations: 101.8 kB / 1.268 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000795/0.9964, allocations: 214.9 kB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9964, allocations: 0.7812 kB / 1.269 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008614/0.9973, allocations: 269.2 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.9973, allocations: 5.344 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.9973, allocations: 0.6562 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9973, allocations: 0.7812 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000298/0.9976, allocations: 49.88 kB / 1.269 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.9977, allocations: 5.344 kB / 1.269 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.9979, allocations: 39.28 kB / 1.269 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.9979, allocations: 1.625 kB / 1.269 GB, free: 4.191 MB / 0.9981 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 8.56e-05/0.998, allocations: 130.9 kB / 1.269 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.998, allocations: 13.84 kB / 1.269 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.876e-05/0.9981, allocations: 17.53 kB / 1.269 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.9981, allocations: 5.031 kB / 1.269 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.9981, allocations: 5 kB / 1.269 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.9981, allocations: 2.906 kB / 1.269 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002473/0.9983, allocations: 259.3 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9984, allocations: 4.562 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.9986, allocations: 38.72 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.9986, allocations: 1 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9986, allocations: 1.266 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.9986, allocations: 0.9062 kB / 1.269 GB, free: 3.809 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.9987, allocations: 12.69 kB / 1.269 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.9995, allocations: 354 kB / 1.27 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/0.9996, allocations: 93.86 kB / 1.27 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.9996, allocations: 5.578 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.9998, allocations: 31.17 kB / 1.27 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.396e-05/0.9999, allocations: 20.5 kB / 1.27 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.9999, allocations: 1.906 kB / 1.27 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.771e-05/1, allocations: 133.9 kB / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1, allocations: 0 / 1.27 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002695/1, allocations: 25.75 kB / 1.27 GB, free: 3.402 MB / 0.9981 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.0001353/1, allocations: 99.19 kB / 1.27 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008702/1.001, allocations: 231.6 kB / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.001, allocations: 0 / 1.27 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004242/1.002, allocations: 120.6 kB / 1.27 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/1.002, allocations: 26.5 kB / 1.27 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/1.003, allocations: 340.8 kB / 1.271 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/1.003, allocations: 0.7268 MB / 1.271 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.575e-05/1.003, allocations: 13.81 kB / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of SimCode: time 2.01e-07/1.003, allocations: 0 / 1.271 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of Templates: time 0.004239/1.007, allocations: 2.03 MB / 1.273 GB, free: 2.145 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.201420256868005]