Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 199.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 240.2 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.706/2.706, allocations: 390.2 MB / 0.6646 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 71.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8932/0.8951, allocations: 140.3 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter): time 0.001878/0.8971, allocations: 0.6711 MB / 0.9503 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.8978, allocations: 0.7924 MB / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.221e-05/0.8979, allocations: 0 / 0.951 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.746e-05/0.8979, allocations: 3.984 kB / 0.951 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.555e-05/0.898, allocations: 5.312 kB / 0.951 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.884e-05/0.8981, allocations: 4 kB / 0.951 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.898e-05/0.8982, allocations: 26.92 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.8983, allocations: 2.75 kB / 0.9511 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.728e-05/0.8983, allocations: 12.11 kB / 0.9511 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.643e-05/0.8984, allocations: 14.69 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.8984, allocations: 1.375 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.486e-06/0.8984, allocations: 2.75 kB / 0.9511 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.8984, allocations: 3.984 kB / 0.9511 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.373e-05/0.8985, allocations: 10.69 kB / 0.9511 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.266e-05/0.8985, allocations: 24.02 kB / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8985, allocations: 0 / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8985, allocations: 0 / 0.9511 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.269e-06/0.8986, allocations: 1.375 kB / 0.9511 GB, free: 7.883 MB / 0.7169 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.0003668/0.8989, allocations: 343.2 kB / 0.9515 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.899, allocations: 13.61 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.899, allocations: 2.312 kB / 0.9515 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.978e-05/0.8991, allocations: 165.7 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.8991, allocations: 1.75 kB / 0.9516 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.8991, allocations: 8.312 kB / 0.9516 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.8993, allocations: 46.61 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/0.8993, allocations: 192 / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8993, allocations: 7.938 kB / 0.9517 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.8993, allocations: 5.375 kB / 0.9517 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.8995, allocations: 29.84 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.8998, allocations: 250.9 kB / 0.952 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.8999, allocations: 41.78 kB / 0.952 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.719e-05/0.9, allocations: 33.3 kB / 0.952 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.9001, allocations: 5.547 kB / 0.952 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.9001, allocations: 34.5 kB / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.9001, allocations: 0 / 0.9521 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003533/0.9004, allocations: 84.7 kB / 0.9522 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.9005, allocations: 53 kB / 0.9522 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.773e-05/0.9006, allocations: 103.3 kB / 0.9523 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.9006, allocations: 27.27 kB / 0.9523 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.532e-05/0.9006, allocations: 80.14 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.9006, allocations: 13.08 kB / 0.9524 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.9007, allocations: 16.38 kB / 0.9524 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.9007, allocations: 312.1 kB / 0.9527 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.414e-05/0.9008, allocations: 21.39 kB / 0.9528 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.597e-05/0.9009, allocations: 13.05 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.901, allocations: 40.09 kB / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.901, allocations: 0 / 0.9528 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.9012, allocations: 75.73 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.9013, allocations: 9.516 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.9013, allocations: 0 / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9013, allocations: 1.125 kB / 0.9529 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.47e-05/0.9014, allocations: 10.41 kB / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.9014, allocations: 0 / 0.9529 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.9014, allocations: 7.984 kB / 0.9529 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.9015, allocations: 0 / 0.9529 GB, free: 6.051 MB / 0.7169 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.867e-05/0.9015, allocations: 115.5 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.9015, allocations: 2.656 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.9016, allocations: 7.125 kB / 0.953 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.9016, allocations: 3.984 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.9016, allocations: 1.188 kB / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.9016, allocations: 256 / 0.953 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.9017, allocations: 158.1 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.9017, allocations: 5.312 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.028e-05/0.9018, allocations: 9.828 kB / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9018, allocations: 0 / 0.9532 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.9018, allocations: 5.438 kB / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.9018, allocations: 0 / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.9018, allocations: 0 / 0.9532 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.9021, allocations: 171.2 kB / 0.9534 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.818e-05/0.9021, allocations: 82.36 kB / 0.9534 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.9021, allocations: 0 / 0.9534 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.9022, allocations: 12.2 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.9022, allocations: 1.406 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.9022, allocations: 1.344 kB / 0.9535 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.661e-05/0.9023, allocations: 86.14 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9023, allocations: 1.188 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002207/0.9025, allocations: 3.75 kB / 0.9535 GB, free: 5.359 MB / 0.7169 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.0001268/0.9026, allocations: 102.6 kB / 0.9536 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.9029, allocations: 36.62 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.9029, allocations: 1.281 kB / 0.9537 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.705e-05/0.903, allocations: 26.12 kB / 0.9537 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.9033, allocations: 17.47 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002846/0.9036, allocations: 105.5 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001068/0.9037, allocations: 0.6814 MB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.407e-05/0.9037, allocations: 1.281 kB / 0.9545 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/0.9038, allocations: 8.969 kB / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.9038, allocations: 0 / 0.9545 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.002649/0.9064, allocations: 433.4 kB / 0.9549 GB, free: 4.188 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches