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.008689/0.008689, allocations: 97.3 kB / 15.73 MB, free: 6.035 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.001846/0.001847, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.453/1.453, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.505/2.505, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 71.16 kB / 0.9509 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3349, allocations: 140.4 MB / 1.088 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001921/0.3368, allocations: 0.6895 MB / 1.089 GB, free: 0.9258 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.3378, allocations: 0.8355 MB / 1.089 GB, free: 80 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.388e-05/0.3378, allocations: 3.938 kB / 1.089 GB, free: 76 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.866e-05/0.3379, allocations: 3.938 kB / 1.089 GB, free: 72 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.674e-05/0.338, allocations: 7.938 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.3381, allocations: 31.89 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3382, allocations: 47.94 kB / 1.09 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3384, allocations: 11.98 kB / 1.09 GB, free: 15.97 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.31e-05/0.3385, allocations: 19.92 kB / 1.09 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.3385, allocations: 27.83 kB / 1.09 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3386, allocations: 4 kB / 1.09 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.3386, allocations: 8 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.341e-05/0.3386, allocations: 7.984 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.797e-05/0.3387, allocations: 23.86 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.3388, allocations: 47.8 kB / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3388, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3388, allocations: 0 / 1.09 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.3388, allocations: 0 / 1.09 GB, free: 15.84 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.0005771/0.3394, allocations: 351.4 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.3394, allocations: 12.03 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.3395, allocations: 8.891 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/0.3396, allocations: 188.1 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.3397, allocations: 384 / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.882e-05/0.3397, allocations: 4.375 kB / 1.09 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.3399, allocations: 65.59 kB / 1.09 GB, free: 15.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3399, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.3399, allocations: 4 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.3399, allocations: 0 / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.3402, allocations: 51.95 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.3406, allocations: 288.8 kB / 1.091 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.3408, allocations: 62.53 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.341, allocations: 32.91 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.738e-05/0.341, allocations: 4 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.341, allocations: 38.56 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.341, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004157/0.3414, allocations: 109.5 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3415, allocations: 51.41 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.3416, allocations: 113.8 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.3416, allocations: 25.7 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.3416, allocations: 88.14 kB / 1.091 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.3417, allocations: 11.89 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.893e-05/0.3417, allocations: 17.72 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3418, allocations: 318.8 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.3419, allocations: 23.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.111e-05/0.342, allocations: 27.97 kB / 1.091 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000184/0.3422, allocations: 60.97 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3422, allocations: 0 / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002363/0.3425, allocations: 85.64 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3425, allocations: 8 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3425, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3425, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.3427, allocations: 15.98 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3427, allocations: 0 / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.935e-05/0.3427, allocations: 7.984 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3428, allocations: 7.938 kB / 1.092 GB, free: 13.57 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 7.595e-05/0.3428, allocations: 113.8 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.901e-05/0.3429, allocations: 11.94 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.308e-05/0.3429, allocations: 3.906 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3429, allocations: 0 / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.3429, allocations: 7.938 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3429, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3431, allocations: 185.5 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3431, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.076e-05/0.3432, allocations: 11.98 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3432, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3432, allocations: 4 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3432, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3432, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.3435, allocations: 187.4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.3436, allocations: 81.11 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.3436, allocations: 4 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.3437, allocations: 3.984 kB / 1.092 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/0.3438, allocations: 11.98 kB / 1.092 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3438, allocations: 4 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.3438, allocations: 87.53 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3438, allocations: 4 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002203/0.3441, allocations: 11.94 kB / 1.092 GB, free: 12.75 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.0001253/0.3442, allocations: 99.77 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3445, allocations: 55.95 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3445, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.3446, allocations: 31.97 kB / 1.093 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.3449, allocations: 9.562 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.3452, allocations: 133.5 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002265/0.3455, allocations: 0.6807 MB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.3455, allocations: 8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.306e-05/0.3456, allocations: 19.36 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3456, allocations: 0 / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of Templates: time 0.003184/0.3488, allocations: 0.8909 MB / 1.094 GB, free: 10.77 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