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.001605/0.001605, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001878/0.001878, allocations: 218.3 kB / 23 MB, free: 4.914 MB / 14.72 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4892 GB / 0.7951 GB, free: 35.69 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|add1.u.2.|add1.u.3.|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.1.|add1.u.2.|add1.u.3.|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 71.89 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002324/0.303, allocations: 0.8235 MB / 1.327 GB, free: 1.07 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001445/0.3044, allocations: 0.9288 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.26e-05/0.3045, allocations: 0 / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001132/0.3046, allocations: 7.875 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.3048, allocations: 23.78 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.305, allocations: 59.92 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.3052, allocations: 127.8 kB / 1.328 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.3053, allocations: 33.3 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.781e-05/0.3054, allocations: 55.75 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.3056, allocations: 75.72 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.848e-05/0.3056, allocations: 12 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/0.3056, allocations: 12 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.83e-05/0.3057, allocations: 27.91 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.164e-05/0.3058, allocations: 59.64 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.306, allocations: 135.4 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.306, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.343e-06/0.306, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.306, allocations: 0 / 1.329 GB, free: 15.5 MB / 1.029 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.0008919/0.3069, allocations: 377.7 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.3069, allocations: 8.031 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.307, allocations: 16.84 kB / 1.329 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.3072, allocations: 148.4 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.3073, allocations: 12.12 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.3073, allocations: 4 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.3077, allocations: 163.8 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.3077, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.3078, allocations: 0 / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3078, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.3083, allocations: 155.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006681/0.309, allocations: 340.2 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008532/0.3099, allocations: 166.4 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.3102, allocations: 80.95 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3102, allocations: 7.938 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.3102, allocations: 38.55 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.3102, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.00103/0.3112, allocations: 277.5 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.3113, allocations: 59.41 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.3114, allocations: 148.9 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.3115, allocations: 25.7 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.007e-05/0.3115, allocations: 116 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3116, allocations: 23.81 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.356e-05/0.3117, allocations: 33.62 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.3118, allocations: 322.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.3121, allocations: 67.94 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.3124, allocations: 79.92 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.3129, allocations: 157.2 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.3129, allocations: 0 / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006296/0.3135, allocations: 205.4 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.3136, allocations: 7.938 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3136, allocations: 0 / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3136, allocations: 3.984 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.3138, allocations: 39.95 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.3139, allocations: 7.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000178/0.314, allocations: 23.91 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.3141, allocations: 7.984 kB / 1.332 GB, free: 12.27 MB / 1.029 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.0001209/0.3142, allocations: 122.4 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.3142, allocations: 15.84 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.3143, allocations: 24.7 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3143, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3143, allocations: 0 / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3143, allocations: 4 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/0.3145, allocations: 157.3 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3145, allocations: 3.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.3148, allocations: 35.95 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3148, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3148, allocations: 11.92 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.3148, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3148, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.3155, allocations: 307.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.3155, allocations: 11.89 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.3155, allocations: 3.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3157, allocations: 23.97 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3159, allocations: 36.08 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.3159, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001049/0.316, allocations: 119.2 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.316, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002694/0.3163, allocations: 24 kB / 1.332 GB, free: 11.32 MB / 1.029 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.0001748/0.3164, allocations: 103.2 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000691/0.3171, allocations: 167.8 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3171, allocations: 0 / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.3174, allocations: 87.86 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3178, allocations: 15.98 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.3185, allocations: 267.7 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.3186, allocations: 93.05 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.3187, allocations: 23.42 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.3187, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of Templates: time 0.004607/0.3233, allocations: 1.865 MB / 1.335 GB, free: 8.664 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_MultiSum.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.054448131006211]