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.001243/0.001243, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001881/0.003124, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001156/0.001156, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002804, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9991/0.9991, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0993/1.098, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.951/1.951, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5093/2.46, allocations: 123.3 MB / 0.7283 GB, free: 5.715 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 0.7297 GB, free: 4.336 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.394e-05/2.565e-05, allocations: 3.188 kB / 0.7297 GB, free: 4.332 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001439/0.001465, allocations: 0.7317 MB / 0.7304 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0006793/0.002144, allocations: 0.8404 MB / 0.7312 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.794e-05/0.002172, allocations: 0 / 0.7312 GB, free: 2.781 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.287e-05/0.002195, allocations: 5.609 kB / 0.7313 GB, free: 2.777 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.968e-05/0.002234, allocations: 10.42 kB / 0.7313 GB, free: 2.77 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.057e-05/0.002285, allocations: 4 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.24e-05/0.002357, allocations: 24.69 kB / 0.7313 GB, free: 2.746 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.131e-05/0.002439, allocations: 8 kB / 0.7313 GB, free: 2.738 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.08e-05/0.002529, allocations: 22.58 kB / 0.7313 GB, free: 2.719 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.813e-05/0.002568, allocations: 10.95 kB / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.00259, allocations: 0 / 0.7313 GB, free: 2.711 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-06/0.002598, allocations: 4 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.002615, allocations: 1.531 kB / 0.7313 GB, free: 2.707 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.174e-05/0.002637, allocations: 4.766 kB / 0.7313 GB, free: 2.703 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 9.323e-05/0.00273, allocations: 14.88 kB / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.67e-05/0.002747, allocations: 0 / 0.7314 GB, free: 2.691 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.503e-06/0.002748, allocations: 4.484 kB / 0.7314 GB, free: 2.688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.002762, allocations: 0.625 kB / 0.7314 GB, free: 2.688 MB / 0.698 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.0003582/0.00312, allocations: 237.5 kB / 0.7316 GB, free: 2.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.003155, allocations: 12.69 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.003181, allocations: 0.9375 kB / 0.7316 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.003282, allocations: 110.4 kB / 0.7317 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.003294, allocations: 5.781 kB / 0.7317 GB, free: 2.281 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/0.003306, allocations: 4.375 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.00341, allocations: 50.94 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.003417, allocations: 0.9531 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.003426, allocations: 0.9062 kB / 0.7318 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.003434, allocations: 9.953 kB / 0.7318 GB, free: 2.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.003455, allocations: 3.938 kB / 0.7318 GB, free: 2.207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001924/0.003647, allocations: 152.3 kB / 0.7319 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.29e-05/0.00369, allocations: 22.52 kB / 0.7319 GB, free: 2.012 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.651e-05/0.003707, allocations: 9.859 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.003714, allocations: 1.375 kB / 0.732 GB, free: 2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.003734, allocations: 30.56 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.003736, allocations: 1.594 kB / 0.732 GB, free: 1.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001008/0.003836, allocations: 41.67 kB / 0.732 GB, free: 1.914 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.003865, allocations: 55.34 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.606e-05/0.003921, allocations: 107.5 kB / 0.7322 GB, free: 1.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.437e-06/0.00393, allocations: 25.7 kB / 0.7322 GB, free: 1.699 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.233e-05/0.003963, allocations: 89.38 kB / 0.7323 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.00398, allocations: 8.938 kB / 0.7323 GB, free: 1.602 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.004001, allocations: 9.719 kB / 0.7323 GB, free: 1.586 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.004081, allocations: 318.8 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-06/0.00409, allocations: 1.75 kB / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.163e-06/0.004098, allocations: 0 / 0.7326 GB, free: 1.266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.004119, allocations: 16.84 kB / 0.7326 GB, free: 1.246 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.004121, allocations: 1.219 kB / 0.7326 GB, free: 1.246 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.151e-05/0.004172, allocations: 33.64 kB / 0.7327 GB, free: 1.207 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.004185, allocations: 8 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.00419, allocations: 2.188 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.004202, allocations: 1.125 kB / 0.7327 GB, free: 1.199 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.004266, allocations: 11.92 kB / 0.7327 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004269, allocations: 3.984 kB / 0.7327 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.58e-05/0.004285, allocations: 4.812 kB / 0.7327 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.715e-06/0.004287, allocations: 0 / 0.7327 GB, free: 1.18 MB / 0.698 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 5.343e-05/0.004341, allocations: 114.6 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.231e-05/0.004353, allocations: 7.984 kB / 0.7328 GB, free: 1.051 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.004372, allocations: 3.844 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.004374, allocations: 1.219 kB / 0.7328 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.004376, allocations: 4.188 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.004379, allocations: 0 / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.775e-05/0.004457, allocations: 69.91 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.004457, allocations: 0.7188 kB / 0.7329 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.004478, allocations: 10.19 kB / 0.7329 GB, free: 0.9453 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.004484, allocations: 3.953 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.004486, allocations: 4 kB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.037e-06/0.00449, allocations: 0.6875 kB / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.004491, allocations: 0 / 0.7329 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.004493, allocations: 5.312 kB / 0.7329 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.004571, allocations: 139.5 kB / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-06/0.004578, allocations: 0 / 0.733 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.804e-05/0.004606, allocations: 4.5 kB / 0.733 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.004632, allocations: 4.531 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.004634, allocations: 0.75 kB / 0.7331 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.266e-05/0.004646, allocations: 12.8 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.004647, allocations: 0.75 kB / 0.7331 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001094/0.004756, allocations: 4 kB / 0.7331 GB, free: 0.7539 MB / 0.698 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 8.875e-05/0.004845, allocations: 78.97 kB / 0.7331 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.842e-05/0.004903, allocations: 20.84 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.004909, allocations: 2.109 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.77e-05/0.004926, allocations: 12.8 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001657/0.005092, allocations: 31.94 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.00543, allocations: 113.9 kB / 0.7333 GB, free: 468 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.15e-05/0.005462, allocations: 51.36 kB / 0.7334 GB, free: 396 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.005478, allocations: 4 kB / 0.7334 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.005525, allocations: 48.41 kB / 0.7334 GB, free: 344 kB / 0.698 GB Notification: Performance of SimCode: time 7.01e-07/0.005525, allocations: 0 / 0.7334 GB, free: 344 kB / 0.698 GB Notification: Performance of Templates: time 0.002017/0.007542, allocations: 481.8 kB / 0.7339 GB, free: 15.89 MB / 0.7136 GB " [Timeout remaining time 300] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.066284202970564]