Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001573/0.001573, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.00138/0.00138, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.667/2.667, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 64.67 kB / 0.8707 GB, free: 1.422 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3593, allocations: 151.6 MB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002007/0.3613, allocations: 0.7036 MB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0009238/0.3623, allocations: 0.8351 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.3623, allocations: 0 / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.3624, allocations: 7.875 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.3624, allocations: 3.938 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.3626, allocations: 31.91 kB / 1.02 GB, free: 8.227 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.3627, allocations: 39.92 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.3628, allocations: 19.97 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.565e-05/0.3629, allocations: 23.92 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.363, allocations: 19.92 kB / 1.02 GB, free: 8.125 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.363, allocations: 7.938 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.363, allocations: 4 kB / 1.02 GB, free: 8.113 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.363, allocations: 15.92 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.3631, allocations: 23.91 kB / 1.02 GB, free: 8.074 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3632, allocations: 39.88 kB / 1.021 GB, free: 8.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3632, allocations: 3.938 kB / 1.021 GB, free: 8.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3632, allocations: 4 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3632, allocations: 0 / 1.021 GB, free: 8.027 MB / 0.795 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.000511/0.3637, allocations: 351.3 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.3638, allocations: 12.62 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3638, allocations: 4.922 kB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.3639, allocations: 180.2 kB / 1.021 GB, free: 7.406 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.364, allocations: 4.375 kB / 1.021 GB, free: 7.402 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.462e-05/0.364, allocations: 4.375 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3642, allocations: 69.77 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3642, allocations: 0 / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.3642, allocations: 4 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3642, allocations: 0 / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.3644, allocations: 47.95 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004741/0.3649, allocations: 300.6 kB / 1.021 GB, free: 6.93 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.3651, allocations: 62.53 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.3652, allocations: 36.91 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3652, allocations: 0 / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3653, allocations: 38.56 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3653, allocations: 0 / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.000405/0.3657, allocations: 109.6 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.3657, allocations: 51.41 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.373e-05/0.3658, allocations: 105.8 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3659, allocations: 29.7 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.3659, allocations: 88.14 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.3659, allocations: 11.8 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.366, allocations: 17.72 kB / 1.022 GB, free: 6.324 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3661, allocations: 318.8 kB / 1.022 GB, free: 6.004 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.3662, allocations: 27.97 kB / 1.022 GB, free: 5.977 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.684e-05/0.3663, allocations: 23.97 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.3665, allocations: 52.81 kB / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3665, allocations: 0 / 1.022 GB, free: 5.898 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000225/0.3667, allocations: 85.59 kB / 1.022 GB, free: 5.809 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3667, allocations: 11.94 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3668, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.3668, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3669, allocations: 11.98 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3669, allocations: 7.938 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.807e-05/0.367, allocations: 7.984 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.367, allocations: 0 / 1.023 GB, free: 5.77 MB / 0.795 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.379e-05/0.3671, allocations: 118.8 kB / 1.023 GB, free: 5.645 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.3671, allocations: 11.89 kB / 1.023 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.3672, allocations: 11.89 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3672, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3672, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3672, allocations: 0 / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3674, allocations: 189.6 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3674, allocations: 0 / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-05/0.3675, allocations: 15.92 kB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3675, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.3675, allocations: 0 / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3675, allocations: 4 kB / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3675, allocations: 0 / 1.023 GB, free: 5.363 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.3678, allocations: 183.4 kB / 1.023 GB, free: 5.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.3678, allocations: 81.02 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.3679, allocations: 4 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.368, allocations: 7.984 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.368, allocations: 11.98 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.368, allocations: 8 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.834e-05/0.3681, allocations: 79.59 kB / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3681, allocations: 0 / 1.023 GB, free: 4.961 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002239/0.3683, allocations: 19.98 kB / 1.023 GB, free: 4.941 MB / 0.795 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.0001098/0.3684, allocations: 103.1 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3687, allocations: 51.95 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3687, allocations: 0 / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001065/0.3688, allocations: 35.97 kB / 1.023 GB, free: 4.742 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3691, allocations: 10.75 kB / 1.023 GB, free: 4.734 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.3694, allocations: 135.1 kB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.3697, allocations: 0.6845 MB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3697, allocations: 7.938 kB / 1.024 GB, free: 3.859 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.3698, allocations: 15.42 kB / 1.024 GB, free: 3.844 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3698, allocations: 4 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of Templates: time 0.00296/0.3727, allocations: 0.8713 MB / 1.025 GB, free: 2.973 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches