Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.00134/0.00134, allocations: 80.2 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.001586/0.001586, allocations: 158.4 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.502/1.502, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.855/2.855, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00234/0.00234, allocations: 63.91 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.013, allocations: 181.8 MB / 1.187 GB, free: 16.17 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001952/1.014, allocations: 0.6722 MB / 1.187 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.000887/1.015, allocations: 0.8103 MB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.796e-05/1.015, allocations: 0 / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.786e-05/1.015, allocations: 3.938 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.739e-05/1.015, allocations: 2.922 kB / 1.188 GB, free: 15.14 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 6.083e-05/1.016, allocations: 5.922 kB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 7.99e-05/1.016, allocations: 29.31 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/1.016, allocations: 4 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.918e-05/1.016, allocations: 17.67 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.959e-05/1.016, allocations: 4.938 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/1.016, allocations: 6.5 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-06/1.016, allocations: 2.688 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/1.016, allocations: 8.547 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/1.016, allocations: 7.734 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 8.696e-05/1.016, allocations: 29.48 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.016, allocations: 0 / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.984e-06/1.016, allocations: 1.219 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.016, allocations: 0 / 1.188 GB, free: 15.08 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.0003935/1.016, allocations: 265.2 kB / 1.188 GB, free: 14.81 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/1.016, allocations: 9.625 kB / 1.188 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/1.016, allocations: 2.375 kB / 1.188 GB, free: 14.81 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.006e-05/1.017, allocations: 114.2 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/1.017, allocations: 1.031 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-06/1.017, allocations: 1.812 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/1.017, allocations: 52.48 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/1.017, allocations: 5.469 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/1.017, allocations: 3.938 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/1.017, allocations: 0.6562 kB / 1.189 GB, free: 14.63 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001757/1.017, allocations: 41.61 kB / 1.189 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/1.017, allocations: 194.8 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/1.017, allocations: 37.08 kB / 1.189 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/1.017, allocations: 25.27 kB / 1.189 GB, free: 14.38 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/1.017, allocations: 5.312 kB / 1.189 GB, free: 14.37 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/1.017, allocations: 32.52 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/1.017, allocations: 4 kB / 1.189 GB, free: 14.33 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003443/1.018, allocations: 83.19 kB / 1.189 GB, free: 14.29 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/1.018, allocations: 52.84 kB / 1.189 GB, free: 14.22 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.503e-05/1.018, allocations: 103.5 kB / 1.189 GB, free: 14.12 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-06/1.018, allocations: 25.7 kB / 1.189 GB, free: 14.09 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.775e-05/1.018, allocations: 86.42 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/1.018, allocations: 4.656 kB / 1.189 GB, free: 14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/1.018, allocations: 17.33 kB / 1.189 GB, free: 13.98 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.882e-05/1.018, allocations: 313.8 kB / 1.19 GB, free: 13.67 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.433e-05/1.018, allocations: 18.45 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.425e-05/1.018, allocations: 17.55 kB / 1.19 GB, free: 13.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/1.018, allocations: 41.38 kB / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.018, allocations: 0 / 1.19 GB, free: 13.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001887/1.019, allocations: 71.44 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.019, allocations: 6.234 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/1.019, allocations: 0 / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.019, allocations: 0 / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/1.019, allocations: 9.078 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/1.019, allocations: 4.797 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.671e-05/1.019, allocations: 6.578 kB / 1.19 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/1.019, allocations: 5.094 kB / 1.19 GB, free: 13.59 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 4.771e-05/1.019, allocations: 117.1 kB / 1.19 GB, free: 13.47 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/1.019, allocations: 9.266 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/1.019, allocations: 3.969 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/1.019, allocations: 1.922 kB / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.019, allocations: 0 / 1.19 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.019, allocations: 5.734 kB / 1.19 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.456e-05/1.019, allocations: 103.5 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/1.019, allocations: 0.6562 kB / 1.19 GB, free: 13.33 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/1.019, allocations: 12.75 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/1.019, allocations: 4.719 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/1.019, allocations: 4.75 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/1.019, allocations: 0.8125 kB / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/1.019, allocations: 0 / 1.19 GB, free: 13.32 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/1.019, allocations: 159.7 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/1.019, allocations: 6.719 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/1.019, allocations: 0.7969 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/1.019, allocations: 6.047 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.849e-05/1.019, allocations: 2.734 kB / 1.19 GB, free: 13.18 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/1.019, allocations: 5.375 kB / 1.19 GB, free: 13.17 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.445e-05/1.019, allocations: 84.23 kB / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.019, allocations: 0 / 1.19 GB, free: 13.09 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002165/1.02, allocations: 4.625 kB / 1.19 GB, free: 13.09 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 9.004e-05/1.02, allocations: 94.2 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002199/1.02, allocations: 38.34 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.02, allocations: 0.7188 kB / 1.19 GB, free: 13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/1.02, allocations: 24.56 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/1.02, allocations: 4.453 kB / 1.19 GB, free: 12.99 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002612/1.02, allocations: 107.1 kB / 1.191 GB, free: 12.88 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.415e-05/1.021, allocations: 63.19 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.375e-05/1.021, allocations: 1.922 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.317e-05/1.021, allocations: 9.5 kB / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of SimCode: time 3e-07/1.021, allocations: 0 / 1.191 GB, free: 12.8 MB / 1.076 GB Notification: Performance of Templates: time 0.002848/1.023, allocations: 473.4 kB / 1.191 GB, free: 12.71 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.171702138031833]