Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.002107/0.002107, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002518/0.002518, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.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 3.254/3.254, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 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.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [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.002036/0.002036, allocations: 70.48 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3662, allocations: 180.2 MB / 1.354 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002052/0.3683, allocations: 0.7077 MB / 1.355 GB, free: 7.199 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009959/0.3693, allocations: 0.8319 MB / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.601e-05/0.3693, allocations: 0 / 1.356 GB, free: 6.355 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.201e-05/0.3694, allocations: 7.938 kB / 1.356 GB, free: 6.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.117e-05/0.3694, allocations: 3.938 kB / 1.356 GB, free: 6.344 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 6.071e-05/0.3695, allocations: 19.97 kB / 1.356 GB, free: 6.324 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.3696, allocations: 39.86 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3697, allocations: 11.98 kB / 1.356 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.3697, allocations: 11.98 kB / 1.356 GB, free: 6.262 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.906e-05/0.3698, allocations: 31.84 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.3698, allocations: 4 kB / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 6.092e-06/0.3698, allocations: 0 / 1.356 GB, free: 6.227 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.3698, allocations: 8 kB / 1.356 GB, free: 6.219 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.828e-05/0.3699, allocations: 27.92 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.502e-05/0.37, allocations: 43.69 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.37, allocations: 4 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.753e-06/0.37, allocations: 3.938 kB / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.37, allocations: 0 / 1.356 GB, free: 6.141 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004919/0.3705, allocations: 282.2 kB / 1.356 GB, free: 5.832 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3705, allocations: 8.031 kB / 1.356 GB, free: 5.824 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3705, allocations: 4.938 kB / 1.356 GB, free: 5.82 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001263/0.3707, allocations: 126.4 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.3707, allocations: 384 / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.3707, allocations: 384 / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002418/0.3709, allocations: 70.22 kB / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3709, allocations: 192 / 1.356 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.3709, allocations: 3.938 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.3709, allocations: 0 / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002905/0.3712, allocations: 75.86 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.3716, allocations: 236 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.3718, allocations: 58.47 kB / 1.357 GB, free: 5.18 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001582/0.372, allocations: 48.91 kB / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.372, allocations: 0 / 1.357 GB, free: 5.129 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.372, allocations: 34.5 kB / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.372, allocations: 0 / 1.357 GB, free: 5.086 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.000513/0.3725, allocations: 125.6 kB / 1.357 GB, free: 4.957 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3726, allocations: 55.39 kB / 1.357 GB, free: 4.891 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.954e-05/0.3727, allocations: 105.9 kB / 1.357 GB, free: 4.777 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3727, allocations: 25.7 kB / 1.357 GB, free: 4.746 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.192e-05/0.3728, allocations: 88.12 kB / 1.357 GB, free: 4.656 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.3728, allocations: 11.91 kB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-05/0.3728, allocations: 13.72 kB / 1.357 GB, free: 4.625 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.373, allocations: 326.8 kB / 1.357 GB, free: 4.297 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.3731, allocations: 27.97 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.3732, allocations: 28.16 kB / 1.358 GB, free: 4.242 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.3735, allocations: 80.8 kB / 1.358 GB, free: 4.16 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3735, allocations: 3.938 kB / 1.358 GB, free: 4.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003251/0.3738, allocations: 93.62 kB / 1.358 GB, free: 4.059 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3738, allocations: 4 kB / 1.358 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.3739, allocations: 3.984 kB / 1.358 GB, free: 4.051 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3739, allocations: 4 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.374, allocations: 15.98 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.374, allocations: 0 / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.674e-05/0.3741, allocations: 15.98 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.3741, allocations: 0 / 1.358 GB, free: 4.016 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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.0001258/0.3742, allocations: 118.4 kB / 1.358 GB, free: 3.891 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3743, allocations: 3.953 kB / 1.358 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.3743, allocations: 15.98 kB / 1.358 GB, free: 3.867 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3743, allocations: 3.938 kB / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3743, allocations: 0 / 1.358 GB, free: 3.863 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3743, allocations: 4 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.3745, allocations: 144.6 kB / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3745, allocations: 0 / 1.358 GB, free: 3.676 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3746, allocations: 15.98 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3746, allocations: 0 / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.3746, allocations: 3.984 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.3746, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3746, allocations: 0 / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003819/0.375, allocations: 195.4 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.399e-05/0.375, allocations: 7.953 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.375, allocations: 0 / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3752, allocations: 15.97 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3752, allocations: 7.938 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.3752, allocations: 4 kB / 1.358 GB, free: 3.414 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.3753, allocations: 91.27 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3753, allocations: 0 / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000215/0.3755, allocations: 4 kB / 1.358 GB, free: 3.32 MB / 1.045 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 (3): * Single equations (assignments): 3 * 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.0001482/0.3756, allocations: 102.2 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003481/0.376, allocations: 71.86 kB / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.376, allocations: 0 / 1.359 GB, free: 3.145 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3761, allocations: 35.95 kB / 1.359 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3765, allocations: 7.938 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.3769, allocations: 143.3 kB / 1.359 GB, free: 2.93 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.3772, allocations: 0.6846 MB / 1.359 GB, free: 2.219 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.3773, allocations: 7.438 kB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3773, allocations: 0 / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of Templates: time 0.002305/0.3796, allocations: 0.753 MB / 1.36 GB, free: 1.465 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.456345492013497]