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.001355/0.001355, 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.002553/0.002554, allocations: 196.1 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.577/1.577, allocations: 222.9 MB / 240.2 MB, free: 4.254 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.525/2.525, allocations: 390.2 MB / 0.6647 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 75.88 kB / 0.8125 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9476/0.9491, allocations: 140.3 MB / 0.9496 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002073/0.9512, allocations: 0.6948 MB / 0.9503 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.952, allocations: 0.8401 MB / 0.9511 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.9521, allocations: 5.531 kB / 0.9511 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.034e-05/0.9521, allocations: 7.922 kB / 0.9511 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.752e-05/0.9522, allocations: 3.938 kB / 0.9511 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001463/0.9524, allocations: 21.45 kB / 0.9511 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.807e-05/0.9525, allocations: 50.11 kB / 0.9512 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.9526, allocations: 10.84 kB / 0.9512 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.183e-05/0.9527, allocations: 23.48 kB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.526e-05/0.9527, allocations: 25.72 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.9528, allocations: 4.625 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.487e-05/0.9528, allocations: 3.625 kB / 0.9512 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.9528, allocations: 14.05 kB / 0.9513 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.9529, allocations: 19.17 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.203e-05/0.9529, allocations: 43.86 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.953, allocations: 5.25 kB / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.953, allocations: 0 / 0.9513 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.953, allocations: 3.938 kB / 0.9513 GB, free: 7.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004689/0.9535, allocations: 359.6 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.9535, allocations: 9.031 kB / 0.9517 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.9535, allocations: 7.984 kB / 0.9517 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.9536, allocations: 167 kB / 0.9518 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.9537, allocations: 5.656 kB / 0.9518 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.9537, allocations: 2.688 kB / 0.9519 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.9539, allocations: 67.62 kB / 0.9519 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9539, allocations: 7.922 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.9539, allocations: 2.094 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.954, allocations: 4 kB / 0.9519 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002074/0.9542, allocations: 54.31 kB / 0.952 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.9546, allocations: 282.5 kB / 0.9523 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002049/0.9548, allocations: 64.02 kB / 0.9523 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.9549, allocations: 36.91 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.9549, allocations: 1.469 kB / 0.9523 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.934e-05/0.955, allocations: 34.5 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.955, allocations: 1.375 kB / 0.9524 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004043/0.9554, allocations: 112.6 kB / 0.9525 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.9554, allocations: 52.78 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.443e-05/0.9555, allocations: 110.2 kB / 0.9526 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.9555, allocations: 27.3 kB / 0.9527 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.9555, allocations: 89.59 kB / 0.9528 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.655e-05/0.9555, allocations: 13.19 kB / 0.9528 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.9556, allocations: 17.84 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.574e-05/0.9556, allocations: 323.8 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.9557, allocations: 24.42 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.9558, allocations: 24.59 kB / 0.9531 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.956, allocations: 55.12 kB / 0.9532 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.956, allocations: 3.938 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002274/0.9563, allocations: 90.42 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.9563, allocations: 4.625 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.9563, allocations: 0 / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.9563, allocations: 1.531 kB / 0.9533 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.9565, allocations: 12.36 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9565, allocations: 0 / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.9565, allocations: 4.094 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.9566, allocations: 5.391 kB / 0.9533 GB, free: 5.871 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: 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 6.682e-05/0.9566, allocations: 120.5 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.68e-05/0.9567, allocations: 9.25 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.9567, allocations: 9.188 kB / 0.9534 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.9567, allocations: 5.188 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.9567, allocations: 0 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.9567, allocations: 336 / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.9568, allocations: 176.3 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.9569, allocations: 0 / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.236e-05/0.9569, allocations: 13.2 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.957, allocations: 0 / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.957, allocations: 5.297 kB / 0.9536 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.957, allocations: 4.312 kB / 0.9536 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.957, allocations: 5.438 kB / 0.9536 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.9573, allocations: 179.4 kB / 0.9538 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.293e-05/0.9573, allocations: 82.3 kB / 0.9539 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.9573, allocations: 9.328 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.391e-05/0.9574, allocations: 3.625 kB / 0.9539 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.9575, allocations: 19.05 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/0.9575, allocations: 2.375 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.9575, allocations: 88.5 kB / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9575, allocations: 0 / 0.954 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002193/0.9578, allocations: 10.88 kB / 0.954 GB, free: 5.129 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: 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.0001182/0.9579, allocations: 101.4 kB / 0.9541 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.9582, allocations: 62.84 kB / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9582, allocations: 0 / 0.9542 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.9583, allocations: 34.36 kB / 0.9542 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.9586, allocations: 7.859 kB / 0.9542 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003553/0.9589, allocations: 134.3 kB / 0.9543 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.9591, allocations: 0.6912 MB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.49e-05/0.9592, allocations: 4.281 kB / 0.955 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.9592, allocations: 11.47 kB / 0.955 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.9592, allocations: 0 / 0.955 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of Templates: time 0.003424/0.9626, allocations: 0.8743 MB / 0.9559 GB, free: 3.703 MB / 0.7169 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