Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 102.7 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 489.7 MB / 0.7761 GB, free: 33.71 MB / 0.6231 GB [Timeout remaining time 87] 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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=518,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=518,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 73.48 kB / 1.127 GB, free: 36.94 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2986, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001863/0.3005, allocations: 0.7103 MB / 1.296 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000976/0.3015, allocations: 0.8393 MB / 1.296 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.251e-05/0.3015, allocations: 4 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.3015, allocations: 3.938 kB / 1.296 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.3016, allocations: 7.938 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000124/0.3017, allocations: 23.97 kB / 1.296 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 8.352e-05/0.3018, allocations: 39.91 kB / 1.296 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.688e-05/0.3019, allocations: 15.98 kB / 1.296 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.876e-05/0.302, allocations: 19.92 kB / 1.296 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.302, allocations: 27.91 kB / 1.297 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.302, allocations: 4 kB / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.176e-05/0.3021, allocations: 4 kB / 1.297 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3021, allocations: 15.92 kB / 1.297 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.888e-05/0.3021, allocations: 15.92 kB / 1.297 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.3022, allocations: 55.67 kB / 1.297 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3022, allocations: 4 kB / 1.297 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.163e-06/0.3022, allocations: 0 / 1.297 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.3022, allocations: 0 / 1.297 GB, free: 9.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004997/0.3027, allocations: 351.3 kB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.3028, allocations: 12.03 kB / 1.297 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.872e-05/0.3028, allocations: 0.9375 kB / 1.297 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3029, allocations: 184.3 kB / 1.297 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.303, allocations: 384 / 1.297 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.303, allocations: 4.375 kB / 1.297 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.3032, allocations: 65.59 kB / 1.297 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3032, allocations: 4 kB / 1.297 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.3032, allocations: 0 / 1.297 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.3032, allocations: 3.938 kB / 1.297 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002256/0.3034, allocations: 63.88 kB / 1.297 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.3038, allocations: 284.8 kB / 1.298 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.3041, allocations: 62.53 kB / 1.298 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001091/0.3042, allocations: 32.91 kB / 1.298 GB, free: 8.719 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.3042, allocations: 4 kB / 1.298 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.3042, allocations: 34.5 kB / 1.298 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3042, allocations: 0 / 1.298 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0004049/0.3046, allocations: 109.6 kB / 1.298 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3046, allocations: 51.41 kB / 1.298 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.3047, allocations: 109.8 kB / 1.298 GB, free: 8.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.3048, allocations: 33.7 kB / 1.298 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.3048, allocations: 84.08 kB / 1.298 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3048, allocations: 19.84 kB / 1.298 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.3049, allocations: 17.7 kB / 1.298 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.305, allocations: 318.8 kB / 1.298 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.3051, allocations: 23.97 kB / 1.298 GB, free: 7.867 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.991e-05/0.3052, allocations: 27.91 kB / 1.298 GB, free: 7.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.3054, allocations: 56.83 kB / 1.298 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.3054, allocations: 4 kB / 1.298 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002286/0.3056, allocations: 81.64 kB / 1.299 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3056, allocations: 4 kB / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.3056, allocations: 0 / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3056, allocations: 0 / 1.299 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3058, allocations: 15.98 kB / 1.299 GB, free: 7.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3058, allocations: 4 kB / 1.299 GB, free: 7.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.109e-05/0.3058, allocations: 11.94 kB / 1.299 GB, free: 7.656 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.3058, allocations: 0 / 1.299 GB, free: 7.656 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: 2 (reaToInt.y,addPar.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 9.537e-05/0.3059, allocations: 122.2 kB / 1.299 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.306, allocations: 0 / 1.299 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.306, allocations: 11.89 kB / 1.299 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.306, allocations: 4 kB / 1.299 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.306, allocations: 0 / 1.299 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.306, allocations: 4 kB / 1.299 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.3062, allocations: 173.6 kB / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3062, allocations: 0 / 1.299 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.3063, allocations: 15.98 kB / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3063, allocations: 0 / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3063, allocations: 336 / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3063, allocations: 0 / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3063, allocations: 0 / 1.299 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.3066, allocations: 199.3 kB / 1.299 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.3066, allocations: 85.05 kB / 1.299 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.3067, allocations: 0 / 1.299 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.671e-05/0.3068, allocations: 7.984 kB / 1.299 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.3068, allocations: 15.92 kB / 1.299 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.3068, allocations: 0 / 1.299 GB, free: 6.934 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.205e-05/0.3069, allocations: 91.58 kB / 1.299 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3069, allocations: 0 / 1.299 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002399/0.3071, allocations: 11.94 kB / 1.299 GB, free: 6.832 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: 2 (addPar.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001152/0.3072, allocations: 103.2 kB / 1.299 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002486/0.3075, allocations: 47.95 kB / 1.299 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3075, allocations: 0 / 1.299 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.3076, allocations: 39.91 kB / 1.299 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.3078, allocations: 4 kB / 1.3 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.3082, allocations: 159.1 kB / 1.3 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.3085, allocations: 0.6807 MB / 1.3 GB, free: 5.738 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.877e-05/0.3085, allocations: 15.44 kB / 1.3 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3085, allocations: 0 / 1.3 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of Templates: time 0.002143/0.3107, allocations: 0.815 MB / 1.301 GB, free: 4.914 MB / 0.9981 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,addPar.u,addPar.y Variables in the result:addPar.u,addPar.y,time