Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.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.0008208/0.0008208, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00138/0.0022, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007052/0.0007052, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001597/0.002302, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.065/1.065, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1113/1.176, allocations: 53.66 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.869/1.869, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5147/2.383, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Integers.Validation.MultiSum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_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.[0-9,]+.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 0.7297 GB, free: 4.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.473e-05, allocations: 3.188 kB / 0.7297 GB, free: 4.418 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.001319/0.001334, allocations: 0.8929 MB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.002147, allocations: 0.9477 MB / 0.7315 GB, free: 2.605 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.586e-05/0.002203, allocations: 7.938 kB / 0.7315 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.069e-05/0.002264, allocations: 7.875 kB / 0.7315 GB, free: 2.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.208e-05/0.002336, allocations: 21.72 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.002454, allocations: 57.27 kB / 0.7315 GB, free: 2.52 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.002661, allocations: 132.2 kB / 0.7317 GB, free: 2.406 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.684e-05/0.002758, allocations: 29.94 kB / 0.7317 GB, free: 2.375 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.002875, allocations: 97.31 kB / 0.7318 GB, free: 2.285 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.002991, allocations: 64.47 kB / 0.7319 GB, free: 2.223 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.003021, allocations: 12 kB / 0.7319 GB, free: 2.211 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.858e-05/0.00304, allocations: 13 kB / 0.7319 GB, free: 2.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.815e-05/0.003078, allocations: 23.94 kB / 0.7319 GB, free: 2.176 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.311e-05/0.003111, allocations: 24.59 kB / 0.7319 GB, free: 2.152 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.003229, allocations: 91.61 kB / 0.732 GB, free: 2.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.229e-05/0.003242, allocations: 4.688 kB / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003242, allocations: 0 / 0.732 GB, free: 2.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.003255, allocations: 0.5 kB / 0.732 GB, free: 2.059 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004657/0.003721, allocations: 340.8 kB / 0.7323 GB, free: 1.703 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.003749, allocations: 8.656 kB / 0.7323 GB, free: 1.695 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.003787, allocations: 8.938 kB / 0.7324 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.003923, allocations: 151 kB / 0.7325 GB, free: 1.516 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.003943, allocations: 4.375 kB / 0.7325 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.003959, allocations: 9.125 kB / 0.7325 GB, free: 1.504 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.004148, allocations: 128.6 kB / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.004156, allocations: 0 / 0.7326 GB, free: 1.371 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.004168, allocations: 4 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.004174, allocations: 0.5312 kB / 0.7326 GB, free: 1.367 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.491e-05/0.004239, allocations: 33.41 kB / 0.7327 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.004545, allocations: 241.7 kB / 0.7329 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.00481, allocations: 122.7 kB / 0.733 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.004848, allocations: 26.42 kB / 0.733 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.004864, allocations: 8 kB / 0.7331 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.004882, allocations: 30.56 kB / 0.7331 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.004883, allocations: 0 / 0.7331 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0001601/0.005044, allocations: 82.59 kB / 0.7332 GB, free: 0.793 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.00507, allocations: 56.72 kB / 0.7332 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.005485, allocations: 152.2 kB / 0.7334 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.005497, allocations: 25.7 kB / 0.7334 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.005531, allocations: 97.91 kB / 0.7335 GB, free: 448 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.634e-05/0.005558, allocations: 31.73 kB / 0.7335 GB, free: 416 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.005596, allocations: 33.69 kB / 0.7335 GB, free: 376 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.204e-05/0.005668, allocations: 318.8 kB / 0.7338 GB, free: 48 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.005699, allocations: 20.12 kB / 0.7339 GB, free: 28 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.665e-05/0.005725, allocations: 19.97 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.027e-05/0.005806, allocations: 51.11 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.005808, allocations: 0 / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.047e-05/0.005899, allocations: 74.73 kB / 0.734 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.005909, allocations: 8 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.005913, allocations: 0.9062 kB / 0.734 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005923, allocations: 3.938 kB / 0.734 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.006032, allocations: 32.48 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.568e-06/0.006036, allocations: 9.047 kB / 0.7341 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.006084, allocations: 15.92 kB / 0.7341 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.006092, allocations: 4 kB / 0.7341 GB, free: 15.8 MB / 0.7136 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 7.653e-05/0.006168, allocations: 118.6 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.006191, allocations: 15.98 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.432e-05/0.006215, allocations: 16.78 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.006217, allocations: 0 / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-06/0.006218, allocations: 0.5938 kB / 0.7342 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.006222, allocations: 9.391 kB / 0.7342 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.00633, allocations: 101.8 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.00633, allocations: 0 / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.058e-05/0.006411, allocations: 31.97 kB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.00642, allocations: 4.547 kB / 0.7344 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.006422, allocations: 4.75 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.00643, allocations: 7.984 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.00643, allocations: 0.75 kB / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006431, allocations: 0 / 0.7344 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.006562, allocations: 220 kB / 0.7346 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.006575, allocations: 4 kB / 0.7346 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.006637, allocations: 7.984 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/0.006701, allocations: 35.95 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.006708, allocations: 5.344 kB / 0.7346 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.496e-05/0.006733, allocations: 34.45 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.006733, allocations: 0 / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001295/0.006862, allocations: 31.88 kB / 0.7347 GB, free: 15.13 MB / 0.7136 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 7.192e-05/0.006934, allocations: 89.61 kB / 0.7348 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.007035, allocations: 50.02 kB / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.00704, allocations: 0 / 0.7348 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.459e-05/0.007105, allocations: 50.36 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.007285, allocations: 142 kB / 0.735 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.007714, allocations: 223.5 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.387e-05/0.007748, allocations: 67.34 kB / 0.7353 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.379e-05/0.007802, allocations: 17.48 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.007904, allocations: 89.77 kB / 0.7354 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of SimCode: time 5.11e-07/0.007904, allocations: 0 / 0.7354 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Templates: time 0.00394/0.01184, allocations: 2.551 MB / 0.7379 GB, free: 11.9 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0448681227862835]