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.001713/0.001713, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002149/0.002149, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.159/3.159, allocations: 0.49 GB / 0.7959 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] 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.002092/0.002092, allocations: 63 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3372, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.MultiSum): time 0.002132/0.3393, allocations: 0.8218 MB / 1.328 GB, free: 184 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.3405, allocations: 0.9249 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.3406, allocations: 0 / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.986e-05/0.3407, allocations: 11.86 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.3408, allocations: 19.8 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.341, allocations: 59.92 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001767/0.3412, allocations: 127.7 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3413, allocations: 41.27 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.3414, allocations: 51.84 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.3416, allocations: 79.72 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.605e-05/0.3416, allocations: 12 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 2.807e-05/0.3416, allocations: 12 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.827e-05/0.3417, allocations: 39.78 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.3418, allocations: 47.78 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.342, allocations: 147.3 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.342, allocations: 0 / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.312e-06/0.342, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.342, allocations: 0 / 1.329 GB, free: 14.6 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.0009234/0.3429, allocations: 377.7 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.343, allocations: 8.031 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3431, allocations: 12.89 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.3433, allocations: 147.8 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.3433, allocations: 8.125 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.3433, allocations: 8 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004771/0.3438, allocations: 153.5 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3438, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/0.3438, allocations: 4 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3438, allocations: 4 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005824/0.3444, allocations: 153.5 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006993/0.3451, allocations: 344.2 kB / 1.331 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009623/0.3461, allocations: 166.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002958/0.3464, allocations: 84.95 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.3464, allocations: 4 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3464, allocations: 34.56 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=10): time 1.232e-06/0.3464, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=10): time 0.001024/0.3475, allocations: 277.5 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.3475, allocations: 63.41 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.3477, allocations: 145.2 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/0.3477, allocations: 29.7 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.59e-05/0.3478, allocations: 116 kB / 1.331 GB, free: 12.35 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.3479, allocations: 15.86 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.241e-05/0.3479, allocations: 30.08 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3481, allocations: 322.8 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.3484, allocations: 75.86 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.3487, allocations: 79.86 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/0.3493, allocations: 152.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3493, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006508/0.3499, allocations: 213.4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3499, allocations: 7.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3499, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3499, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/0.3502, allocations: 35.95 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3502, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.3505, allocations: 27.91 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.3505, allocations: 7.984 kB / 1.332 GB, free: 11.38 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.000132/0.3506, allocations: 126.3 kB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.555e-05/0.3506, allocations: 15.84 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.02e-05/0.3507, allocations: 24.69 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3507, allocations: 3.938 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3507, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3507, allocations: 4 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.3509, allocations: 153.3 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3509, allocations: 4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000261/0.3512, allocations: 39.95 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3512, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.3512, allocations: 11.92 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3512, allocations: 288 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3512, allocations: 0 / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007205/0.352, allocations: 311.2 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.352, allocations: 11.89 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.352, allocations: 3.938 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3522, allocations: 19.97 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.3523, allocations: 35.95 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3523, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001106/0.3525, allocations: 121.1 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3525, allocations: 0 / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002597/0.3527, allocations: 24 kB / 1.333 GB, free: 10.43 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.000132/0.3528, allocations: 97.92 kB / 1.333 GB, free: 10.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.3535, allocations: 175.8 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3535, allocations: 0 / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003122/0.3538, allocations: 91.91 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.3541, allocations: 11.94 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005703/0.3547, allocations: 242 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.758e-05/0.3548, allocations: 97.05 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000108/0.3549, allocations: 20.42 kB / 1.334 GB, free: 9.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.779e-05/0.3549, allocations: 27.42 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of SimCode: time 3.51e-07/0.355, allocations: 0 / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of Templates: time 0.006017/0.361, allocations: 2.676 MB / 1.337 GB, free: 6.973 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 -s gbode -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: 8.848427685996285]