Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 110.7 kB / 16.37 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 197.8 kB / 17.31 MB, free: 5.777 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.297/2.297, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 66.52 kB / 0.814 GB, free: 32.75 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.356, allocations: 140.4 MB / 0.9511 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002085/0.3582, allocations: 0.7067 MB / 0.9518 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.3592, allocations: 0.8371 MB / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3592, allocations: 0 / 0.9527 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.3593, allocations: 3.938 kB / 0.9527 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.667e-05/0.3594, allocations: 3.938 kB / 0.9527 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001599/0.3595, allocations: 23.97 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.633e-05/0.3596, allocations: 43.91 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3598, allocations: 19.98 kB / 0.9527 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.3599, allocations: 23.86 kB / 0.9528 GB, free: 6.363 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.072e-05/0.3599, allocations: 23.91 kB / 0.9528 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.36, allocations: 4 kB / 0.9528 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.437e-05/0.36, allocations: 4 kB / 0.9528 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.598e-05/0.36, allocations: 11.94 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.3601, allocations: 23.91 kB / 0.9528 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000116/0.3602, allocations: 47.8 kB / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3602, allocations: 0 / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3602, allocations: 0 / 0.9529 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.3602, allocations: 4 kB / 0.9529 GB, free: 6.246 MB / 0.7325 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.0005892/0.3608, allocations: 355.3 kB / 0.9532 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.3609, allocations: 8.031 kB / 0.9532 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.3609, allocations: 8.922 kB / 0.9532 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.3611, allocations: 168.3 kB / 0.9534 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3611, allocations: 4.375 kB / 0.9534 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.3611, allocations: 4.375 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3613, allocations: 77.72 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.3614, allocations: 0 / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.3614, allocations: 0 / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3614, allocations: 0 / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002062/0.3616, allocations: 51.94 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.3621, allocations: 284.8 kB / 0.9538 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3623, allocations: 70.48 kB / 0.9539 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3624, allocations: 36.91 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3625, allocations: 0 / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3625, allocations: 30.56 kB / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.3625, allocations: 0 / 0.9539 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004365/0.3629, allocations: 117.5 kB / 0.954 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.363, allocations: 51.41 kB / 0.9541 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.3631, allocations: 110.1 kB / 0.9542 GB, free: 4.707 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.3631, allocations: 29.64 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.639e-05/0.3632, allocations: 88.12 kB / 0.9543 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.231e-05/0.3632, allocations: 11.81 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.3632, allocations: 17.72 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3634, allocations: 326.7 kB / 0.9546 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.883e-05/0.3635, allocations: 23.98 kB / 0.9547 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.482e-05/0.3636, allocations: 23.97 kB / 0.9547 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3638, allocations: 57.08 kB / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3638, allocations: 0 / 0.9547 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002251/0.364, allocations: 93.58 kB / 0.9548 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.364, allocations: 4 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3641, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3641, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.3642, allocations: 11.98 kB / 0.9549 GB, free: 4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.3642, allocations: 8.062 kB / 0.9549 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.47e-05/0.3643, allocations: 4 kB / 0.9549 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.3643, allocations: 3.984 kB / 0.9549 GB, free: 3.984 MB / 0.7325 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 0.0001033/0.3644, allocations: 123.8 kB / 0.955 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3645, allocations: 3.906 kB / 0.955 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.3645, allocations: 7.906 kB / 0.955 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3645, allocations: 4 kB / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3645, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3645, allocations: 0 / 0.955 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.3647, allocations: 181.6 kB / 0.9552 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3647, allocations: 4 kB / 0.9552 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.124e-05/0.3648, allocations: 15.98 kB / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3648, allocations: 0 / 0.9552 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.3649, allocations: 4 kB / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3649, allocations: 0 / 0.9552 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3649, allocations: 3.938 kB / 0.9552 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.3651, allocations: 179.4 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.3652, allocations: 85.02 kB / 0.9555 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.3652, allocations: 3.984 kB / 0.9555 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.445e-05/0.3653, allocations: 15.94 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.3654, allocations: 7.984 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3654, allocations: 4 kB / 0.9555 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.647e-05/0.3655, allocations: 87.27 kB / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3655, allocations: 0 / 0.9556 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002205/0.3657, allocations: 8 kB / 0.9556 GB, free: 3.164 MB / 0.7325 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.0001487/0.3659, allocations: 103.2 kB / 0.9557 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002727/0.3661, allocations: 59.88 kB / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3661, allocations: 0 / 0.9557 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001026/0.3663, allocations: 31.98 kB / 0.9558 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3666, allocations: 7.984 kB / 0.9558 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003781/0.367, allocations: 125.6 kB / 0.9559 GB, free: 2.809 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.3673, allocations: 0.6883 MB / 0.9566 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.166e-05/0.3673, allocations: 7.984 kB / 0.9566 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3674, allocations: 15.44 kB / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.3674, allocations: 0 / 0.9566 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.003436/0.3708, allocations: 0.8758 MB / 0.9574 GB, free: 1.199 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches