Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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.001339/0.001339, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001398/0.001398, allocations: 155.7 kB / 23.01 MB, free: 4.949 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.551/1.551, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.815/2.815, allocations: 377.9 MB / 0.6228 GB, free: 12.6 MB / 0.5919 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.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [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.002113/0.002113, allocations: 63.91 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.148/1.15, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002364/1.153, allocations: 0.6966 MB / 1.155 GB, free: 32.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001121/1.154, allocations: 0.8506 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.844e-05/1.154, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.938e-05/1.154, allocations: 7.172 kB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.099e-05/1.154, allocations: 3.938 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/1.154, allocations: 44.5 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.378e-05/1.154, allocations: 43.22 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/1.154, allocations: 14.05 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.49e-05/1.154, allocations: 20.45 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.327e-05/1.154, allocations: 28.66 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/1.154, allocations: 2.938 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 1.22e-05/1.154, allocations: 5.906 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/1.154, allocations: 4 kB / 1.156 GB, free: 32.18 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/1.154, allocations: 17.06 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/1.155, allocations: 49.7 kB / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.155, allocations: 0 / 1.156 GB, free: 32.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.994e-06/1.155, allocations: 4 kB / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.114e-06/1.155, allocations: 0 / 1.156 GB, free: 32.14 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005183/1.155, allocations: 280.6 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/1.155, allocations: 12.45 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.126e-05/1.155, allocations: 3.812 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/1.155, allocations: 117.3 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/1.155, allocations: 3.156 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/1.155, allocations: 384 / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/1.156, allocations: 71.81 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/1.156, allocations: 4 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/1.156, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.156, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002016/1.156, allocations: 57.58 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/1.156, allocations: 232.7 kB / 1.156 GB, free: 31.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/1.156, allocations: 61.48 kB / 1.156 GB, free: 31.41 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.157, allocations: 33.19 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/1.157, allocations: 2.781 kB / 1.157 GB, free: 31.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/1.157, allocations: 34.56 kB / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/1.157, allocations: 0 / 1.157 GB, free: 31.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.000436/1.157, allocations: 109.6 kB / 1.157 GB, free: 31.3 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/1.157, allocations: 51.41 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.396e-05/1.157, allocations: 116.1 kB / 1.157 GB, free: 31.14 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/1.157, allocations: 25.7 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/1.157, allocations: 90.77 kB / 1.157 GB, free: 31.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/1.157, allocations: 15.78 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/1.157, allocations: 22.67 kB / 1.157 GB, free: 30.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.934e-05/1.157, allocations: 314.8 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/1.157, allocations: 24.19 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.422e-05/1.157, allocations: 24.72 kB / 1.157 GB, free: 30.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/1.158, allocations: 54.64 kB / 1.157 GB, free: 30.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/1.158, allocations: 4 kB / 1.157 GB, free: 30.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002127/1.158, allocations: 89.28 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/1.158, allocations: 5.031 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/1.158, allocations: 0 / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.158, allocations: 2.875 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/1.158, allocations: 15.81 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.158, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/1.158, allocations: 6.094 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/1.158, allocations: 2.75 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.856e-05/1.158, allocations: 117.6 kB / 1.158 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/1.158, allocations: 14 kB / 1.158 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/1.158, allocations: 4 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/1.158, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.158, allocations: 0 / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/1.158, allocations: 2.781 kB / 1.158 GB, free: 30.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/1.158, allocations: 116.9 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.158, allocations: 3.375 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.864e-05/1.158, allocations: 16.06 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/1.158, allocations: 4 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/1.158, allocations: 336 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.158, allocations: 2.812 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.158, allocations: 0 / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/1.159, allocations: 189.9 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/1.159, allocations: 0 / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/1.159, allocations: 2.688 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.28e-05/1.159, allocations: 10.09 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/1.159, allocations: 5.859 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/1.159, allocations: 18.09 kB / 1.158 GB, free: 30.13 MB / 1.076 GB Notification: Performance of sorting global known variables: time 3.204e-05/1.159, allocations: 81.03 kB / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of sort global known variables: time 6e-08/1.159, allocations: 0 / 1.158 GB, free: 30.06 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002197/1.159, allocations: 13.66 kB / 1.158 GB, free: 30.05 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 8.652e-05/1.159, allocations: 103.9 kB / 1.158 GB, free: 29.96 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002416/1.159, allocations: 49.94 kB / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/1.159, allocations: 0 / 1.158 GB, free: 29.95 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/1.16, allocations: 35.7 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/1.16, allocations: 10.17 kB / 1.158 GB, free: 29.94 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003371/1.16, allocations: 133.7 kB / 1.158 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/1.16, allocations: 70.47 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.912e-05/1.16, allocations: 6.875 kB / 1.158 GB, free: 29.74 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/1.16, allocations: 15.34 kB / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of SimCode: time 3.41e-07/1.16, allocations: 0 / 1.158 GB, free: 29.73 MB / 1.076 GB Notification: Performance of Templates: time 0.003445/1.164, allocations: 0.9373 MB / 1.159 GB, free: 29.62 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.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: 9.289108218043111]