Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.001805/0.001805, allocations: 106.5 kB / 17.6 MB, free: 4.703 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.001999/0.001999, allocations: 190.7 kB / 20.78 MB, free: 1.543 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.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.708/2.708, allocations: 443.4 MB / 0.7304 GB, free: 13.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002514/0.002514, allocations: 63.91 kB / 1.059 GB, free: 340 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.435, allocations: 160.7 MB / 1.216 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002233/0.4372, allocations: 0.8678 MB / 1.217 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.4387, allocations: 0.9023 MB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.042e-05/0.4387, allocations: 4 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.4389, allocations: 11.86 kB / 1.218 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.439, allocations: 23.78 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.4392, allocations: 55.94 kB / 1.218 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002175/0.4394, allocations: 135.6 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.4395, allocations: 33.09 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.832e-05/0.4396, allocations: 59.81 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002966/0.4399, allocations: 83.66 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.515e-05/0.4399, allocations: 12 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.362e-05/0.44, allocations: 12 kB / 1.218 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.169e-05/0.44, allocations: 27.91 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.237e-05/0.4401, allocations: 63.64 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002066/0.4403, allocations: 143.4 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4403, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.062e-06/0.4403, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.4403, allocations: 3.938 kB / 1.219 GB, free: 12.86 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009033/0.4412, allocations: 446.8 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4413, allocations: 8.031 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.4413, allocations: 16.84 kB / 1.219 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.4416, allocations: 216.7 kB / 1.219 GB, free: 12.11 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.4416, allocations: 12.12 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.4416, allocations: 4 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004513/0.4421, allocations: 147.8 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4421, allocations: 0 / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.4421, allocations: 3.984 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.4421, allocations: 4 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005664/0.4427, allocations: 159.8 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007277/0.4434, allocations: 412.5 kB / 1.22 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008301/0.4442, allocations: 174.5 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004083/0.4446, allocations: 80.92 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.4447, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.4447, allocations: 34.56 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 9.21e-07/0.4447, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.000924/0.4456, allocations: 285.5 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.4457, allocations: 59.34 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4459, allocations: 152.6 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.4459, allocations: 29.64 kB / 1.221 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.446, allocations: 108.1 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.4461, allocations: 27.75 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.4461, allocations: 25.7 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000167/0.4463, allocations: 322.8 kB / 1.221 GB, free: 9.973 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.4466, allocations: 75.92 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.4468, allocations: 76.3 kB / 1.221 GB, free: 9.824 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005005/0.4473, allocations: 164.8 kB / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4473, allocations: 0 / 1.221 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005886/0.4479, allocations: 205.4 kB / 1.222 GB, free: 9.453 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4479, allocations: 8 kB / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4479, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.448, allocations: 0 / 1.222 GB, free: 9.445 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/0.4482, allocations: 43.89 kB / 1.222 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.4482, allocations: 0 / 1.222 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.4484, allocations: 27.86 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.4484, allocations: 11.98 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (add1.y,add1.u[3],add1.u[2],add1.u[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001566/0.4486, allocations: 121.8 kB / 1.222 GB, free: 9.234 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.4486, allocations: 15.89 kB / 1.222 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.4486, allocations: 16.7 kB / 1.222 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4486, allocations: 4 kB / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4487, allocations: 0 / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4487, allocations: 0 / 1.222 GB, free: 9.199 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.449, allocations: 229.6 kB / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.449, allocations: 0 / 1.222 GB, free: 8.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.4492, allocations: 47.83 kB / 1.222 GB, free: 8.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.4492, allocations: 4 kB / 1.222 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.4492, allocations: 3.984 kB / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4492, allocations: 0 / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4492, allocations: 0 / 1.222 GB, free: 8.871 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008198/0.45, allocations: 315.2 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.317e-05/0.4501, allocations: 89 kB / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.4501, allocations: 0 / 1.223 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001897/0.4503, allocations: 19.97 kB / 1.223 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.4504, allocations: 31.97 kB / 1.223 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.4504, allocations: 7.984 kB / 1.223 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001113/0.4505, allocations: 113.7 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.4505, allocations: 0 / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002462/0.4508, allocations: 31.89 kB / 1.223 GB, free: 8.242 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: 4 (add1.u[1],add1.u[2],add1.u[3],add1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001657/0.451, allocations: 99.25 kB / 1.223 GB, free: 8.137 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006561/0.4516, allocations: 171.8 kB / 1.223 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.4516, allocations: 4 kB / 1.223 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002954/0.4519, allocations: 91.86 kB / 1.223 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4522, allocations: 19.92 kB / 1.223 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.4528, allocations: 249.9 kB / 1.223 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4533, allocations: 0.7119 MB / 1.224 GB, free: 6.848 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.4534, allocations: 16.44 kB / 1.224 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.929e-05/0.4535, allocations: 27.41 kB / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of SimCode: time 8.71e-07/0.4535, allocations: 0 / 1.224 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of Templates: time 0.006296/0.4598, allocations: 2.445 MB / 1.226 GB, free: 4.375 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.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.768158478662372]