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.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.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.007683/0.007683, allocations: 105.5 kB / 15.73 MB, free: 5.992 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.001697/0.001697, allocations: 194.8 kB / 16.67 MB, free: 5.914 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.478/1.478, allocations: 222.9 MB / 240.4 MB, free: 4.145 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.499/2.499, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.45 kB / 0.9509 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3496, allocations: 140.4 MB / 1.088 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.00214/0.3518, allocations: 0.7012 MB / 1.089 GB, free: 0.7656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001112/0.3529, allocations: 0.8355 MB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.177e-05/0.353, allocations: 0 / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/0.3531, allocations: 7.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.3532, allocations: 3.938 kB / 1.089 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.3533, allocations: 27.91 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.57e-05/0.3534, allocations: 35.92 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3536, allocations: 23.97 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.3537, allocations: 23.86 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.3538, allocations: 19.92 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.3538, allocations: 8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.3538, allocations: 7.938 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.518e-05/0.3539, allocations: 11.98 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.3539, allocations: 27.84 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001083/0.354, allocations: 39.88 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.354, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.635e-06/0.354, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.354, allocations: 0 / 1.09 GB, free: 15.68 MB / 0.8575 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.0005375/0.3546, allocations: 351.4 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3546, allocations: 12.03 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.3547, allocations: 12.84 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.3548, allocations: 168.3 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3549, allocations: 8.312 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.3549, allocations: 384 / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002092/0.3551, allocations: 73.58 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.3551, allocations: 3.938 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3551, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3551, allocations: 0 / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.3554, allocations: 55.95 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.3558, allocations: 284.7 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.356, allocations: 70.47 kB / 1.091 GB, free: 14.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.3561, allocations: 36.91 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3562, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.3562, allocations: 30.56 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3562, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004216/0.3566, allocations: 113.5 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3567, allocations: 51.41 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.338e-05/0.3568, allocations: 117.8 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.3568, allocations: 25.7 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.882e-05/0.3568, allocations: 84.05 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.3569, allocations: 11.91 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.3569, allocations: 17.7 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.357, allocations: 318.8 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.981e-05/0.3571, allocations: 27.97 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.796e-05/0.3572, allocations: 27.97 kB / 1.091 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.3574, allocations: 52.83 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3574, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002294/0.3576, allocations: 85.58 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3577, allocations: 4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3577, allocations: 0 / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.3577, allocations: 4 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3578, allocations: 11.98 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3579, allocations: 4 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.001e-05/0.3579, allocations: 23.77 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.3579, allocations: 0 / 1.092 GB, free: 13.41 MB / 0.8575 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.232e-05/0.358, allocations: 113.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.3581, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.587e-05/0.3581, allocations: 11.89 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3581, allocations: 7.938 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3581, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3581, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.3583, allocations: 177.6 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3583, allocations: 0 / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.904e-05/0.3584, allocations: 15.98 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3584, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.3585, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3585, allocations: 3.938 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3585, allocations: 0 / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002848/0.3588, allocations: 187.3 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.686e-05/0.3588, allocations: 81.11 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.3588, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.3589, allocations: 7.984 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.359, allocations: 11.98 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.359, allocations: 0 / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.751e-05/0.3591, allocations: 91.28 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3591, allocations: 0 / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002148/0.3593, allocations: 7.938 kB / 1.092 GB, free: 12.61 MB / 0.8575 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.0001371/0.3594, allocations: 103.8 kB / 1.092 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.3597, allocations: 56.27 kB / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3597, allocations: 0 / 1.093 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.3598, allocations: 36.06 kB / 1.093 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.3602, allocations: 8 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003601/0.3605, allocations: 141.6 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.3608, allocations: 0.6807 MB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3608, allocations: 8 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3609, allocations: 15.42 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.3609, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of Templates: time 0.003178/0.3641, allocations: 0.9032 MB / 1.094 GB, free: 10.61 MB / 0.8575 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 -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/jenkins/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