Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001967/0.001967, allocations: 84.75 kB / 19.76 MB, free: 2.023 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.002452/0.002452, allocations: 156.7 kB / 23.01 MB, free: 4.961 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.46/1.46, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.803/2.803, allocations: 377.9 MB / 0.6228 GB, free: 12.57 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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.00209/0.00209, allocations: 67.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.087/1.089, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001655/1.091, allocations: 0.6685 MB / 1.155 GB, free: 32.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000656/1.092, allocations: 0.8159 MB / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/1.092, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.234e-05/1.092, allocations: 0 / 1.155 GB, free: 32.27 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.871e-05/1.092, allocations: 11 kB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 5.052e-05/1.092, allocations: 0 / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.836e-05/1.092, allocations: 23.72 kB / 1.155 GB, free: 32.25 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/1.092, allocations: 14.66 kB / 1.155 GB, free: 32.24 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/1.092, allocations: 6.938 kB / 1.155 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.203e-05/1.092, allocations: 17.89 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/1.092, allocations: 2.812 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 6.943e-06/1.092, allocations: 3.094 kB / 1.155 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/1.092, allocations: 7.984 kB / 1.155 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/1.092, allocations: 10.41 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 7.032e-05/1.092, allocations: 17.39 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/1.092, allocations: 0 / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.495e-06/1.092, allocations: 6.5 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.45e-06/1.092, allocations: 0 / 1.156 GB, free: 32.21 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003491/1.092, allocations: 263.6 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/1.092, allocations: 7.5 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/1.092, allocations: 3.156 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/1.093, allocations: 120.7 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/1.093, allocations: 2.719 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.324e-06/1.093, allocations: 384 / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/1.093, allocations: 53.83 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/1.093, allocations: 192 / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/1.093, allocations: 3.938 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.516e-06/1.093, allocations: 4 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/1.093, allocations: 33.67 kB / 1.156 GB, free: 31.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/1.093, allocations: 191.7 kB / 1.156 GB, free: 31.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/1.093, allocations: 43.39 kB / 1.156 GB, free: 31.52 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.15e-05/1.093, allocations: 22.97 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/1.093, allocations: 3.938 kB / 1.156 GB, free: 31.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/1.093, allocations: 37.41 kB / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/1.093, allocations: 0 / 1.156 GB, free: 31.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003255/1.094, allocations: 80.92 kB / 1.156 GB, free: 31.42 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/1.094, allocations: 51.41 kB / 1.156 GB, free: 31.36 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.096e-05/1.094, allocations: 108.8 kB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/1.094, allocations: 25.7 kB / 1.157 GB, free: 31.22 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.421e-05/1.094, allocations: 87.14 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/1.094, allocations: 4.078 kB / 1.157 GB, free: 31.13 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/1.094, allocations: 20.88 kB / 1.157 GB, free: 31.11 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.777e-05/1.094, allocations: 314.3 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/1.094, allocations: 16.23 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.813e-05/1.094, allocations: 18.02 kB / 1.157 GB, free: 30.79 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/1.094, allocations: 33.17 kB / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/1.094, allocations: 0 / 1.157 GB, free: 30.78 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001713/1.094, allocations: 81.89 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/1.094, allocations: 5.688 kB / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/1.094, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/1.094, allocations: 0 / 1.157 GB, free: 30.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/1.094, allocations: 16.97 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/1.094, allocations: 2.969 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/1.094, allocations: 2.906 kB / 1.157 GB, free: 30.72 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/1.094, allocations: 3.188 kB / 1.157 GB, free: 30.72 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 3.875e-05/1.095, allocations: 114.2 kB / 1.157 GB, free: 30.6 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/1.095, allocations: 7.875 kB / 1.157 GB, free: 30.59 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/1.095, allocations: 10.09 kB / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/1.095, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/1.095, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/1.095, allocations: 0 / 1.157 GB, free: 30.58 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.674e-05/1.095, allocations: 106.4 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.095, allocations: 0 / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/1.095, allocations: 9.219 kB / 1.157 GB, free: 30.46 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/1.095, allocations: 3.938 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/1.095, allocations: 8 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/1.095, allocations: 2.969 kB / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.095, allocations: 0 / 1.157 GB, free: 30.45 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/1.095, allocations: 160.7 kB / 1.158 GB, free: 30.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-06/1.095, allocations: 7.891 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/1.095, allocations: 3.031 kB / 1.158 GB, free: 30.3 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.704e-05/1.095, allocations: 13.95 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/1.095, allocations: 0 / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/1.095, allocations: 6.75 kB / 1.158 GB, free: 30.29 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.039e-05/1.095, allocations: 85.41 kB / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.095, allocations: 0 / 1.158 GB, free: 30.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002113/1.095, allocations: 4.656 kB / 1.158 GB, free: 30.21 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.403e-05/1.095, allocations: 98.72 kB / 1.158 GB, free: 30.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001987/1.096, allocations: 35.73 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.096, allocations: 0 / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/1.096, allocations: 25.48 kB / 1.158 GB, free: 30.11 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/1.096, allocations: 6.781 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002333/1.096, allocations: 106.6 kB / 1.158 GB, free: 29.99 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.426e-05/1.096, allocations: 64.23 kB / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.157e-05/1.096, allocations: 0 / 1.158 GB, free: 29.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.587e-05/1.096, allocations: 11.25 kB / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/1.096, allocations: 64 / 1.158 GB, free: 29.91 MB / 1.076 GB Notification: Performance of Templates: time 0.002728/1.099, allocations: 458.3 kB / 1.158 GB, free: 29.83 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.005769759998657]