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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 113.8 kB / 17.08 MB, free: 5.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001992/0.001992, allocations: 192.7 kB / 20.02 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.096/3.096, allocations: 489.3 MB / 0.7687 GB, free: 3.742 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.89 kB / 1.103 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.025/1.027, allocations: 163.8 MB / 1.263 GB, free: 7.984 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001841/1.029, allocations: 0.6719 MB / 1.263 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008537/1.03, allocations: 0.7803 MB / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/1.03, allocations: 0 / 1.264 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.453e-05/1.03, allocations: 5.406 kB / 1.264 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.856e-05/1.03, allocations: 5.797 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.94e-05/1.03, allocations: 3.484 kB / 1.264 GB, free: 6.973 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.197e-05/1.03, allocations: 20.62 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/1.03, allocations: 16.83 kB / 1.264 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/1.03, allocations: 12.19 kB / 1.264 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.72e-05/1.03, allocations: 14.14 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/1.03, allocations: 1.75 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.446e-06/1.03, allocations: 2.312 kB / 1.264 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/1.03, allocations: 5.531 kB / 1.264 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/1.03, allocations: 11.2 kB / 1.264 GB, free: 6.93 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 8.4e-05/1.03, allocations: 25.06 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.03, allocations: 0.875 kB / 1.264 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.473e-06/1.03, allocations: 4.609 kB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.238e-06/1.03, allocations: 0 / 1.264 GB, free: 6.918 MB / 0.9981 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.000364/1.031, allocations: 336.7 kB / 1.264 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/1.031, allocations: 9.5 kB / 1.265 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/1.031, allocations: 6.188 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.607e-05/1.031, allocations: 167.8 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/1.031, allocations: 1 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/1.031, allocations: 1.188 kB / 1.265 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/1.031, allocations: 61.38 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.031, allocations: 192 / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.031, allocations: 4.75 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/1.031, allocations: 1.375 kB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/1.031, allocations: 36.73 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/1.031, allocations: 255.3 kB / 1.265 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/1.032, allocations: 44.67 kB / 1.265 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/1.032, allocations: 21.75 kB / 1.265 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/1.032, allocations: 4.781 kB / 1.265 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/1.032, allocations: 35.94 kB / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/1.032, allocations: 0 / 1.265 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003342/1.032, allocations: 80.41 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.853e-05/1.032, allocations: 56.22 kB / 1.265 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.714e-05/1.032, allocations: 106.5 kB / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.151e-06/1.032, allocations: 26.33 kB / 1.265 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.399e-05/1.032, allocations: 86.59 kB / 1.265 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/1.032, allocations: 5.438 kB / 1.265 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/1.032, allocations: 16.27 kB / 1.265 GB, free: 5.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.308e-05/1.032, allocations: 317.5 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.58e-05/1.032, allocations: 13.56 kB / 1.266 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.443e-05/1.032, allocations: 22.53 kB / 1.266 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/1.033, allocations: 37.25 kB / 1.266 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.033, allocations: 4.938 kB / 1.266 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001831/1.033, allocations: 66.83 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.033, allocations: 4.719 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/1.033, allocations: 0.6875 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.033, allocations: 1.266 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/1.033, allocations: 8.438 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/1.033, allocations: 0.625 kB / 1.266 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.67e-05/1.033, allocations: 10.36 kB / 1.266 GB, free: 5.195 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/1.033, allocations: 1.344 kB / 1.266 GB, free: 5.195 MB / 0.9981 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.843e-05/1.033, allocations: 123.2 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/1.033, allocations: 5.672 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/1.033, allocations: 4.312 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/1.033, allocations: 1.484 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/1.033, allocations: 0 / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/1.033, allocations: 0.6562 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/1.033, allocations: 161.3 kB / 1.266 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/1.033, allocations: 4.25 kB / 1.266 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.982e-05/1.033, allocations: 16.59 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/1.033, allocations: 1.422 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/1.033, allocations: 0 / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/1.033, allocations: 0.6875 kB / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/1.033, allocations: 0 / 1.266 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/1.034, allocations: 163.2 kB / 1.266 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.584e-05/1.034, allocations: 79.5 kB / 1.266 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/1.034, allocations: 4.938 kB / 1.266 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.39e-05/1.034, allocations: 13.56 kB / 1.267 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.303e-05/1.034, allocations: 6.234 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/1.034, allocations: 1.516 kB / 1.267 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.307e-05/1.034, allocations: 80.62 kB / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.034, allocations: 0 / 1.267 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002061/1.034, allocations: 3.531 kB / 1.267 GB, free: 4.535 MB / 0.9981 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 0.0001204/1.034, allocations: 109.9 kB / 1.267 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002234/1.034, allocations: 36.08 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/1.034, allocations: 0 / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/1.034, allocations: 17.09 kB / 1.267 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/1.035, allocations: 11.14 kB / 1.267 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/1.035, allocations: 146.8 kB / 1.267 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.767e-05/1.035, allocations: 0.6764 MB / 1.268 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.682e-05/1.035, allocations: 8.812 kB / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.035, allocations: 0 / 1.268 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of Templates: time 0.002191/1.037, allocations: 0.5555 MB / 1.268 GB, free: 3.535 MB / 0.9981 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 -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_2/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: 11.61024542991072]