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.001547/0.001547, allocations: 104.1 kB / 15.98 MB, free: 5.891 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.001706/0.001706, allocations: 193 kB / 16.91 MB, free: 5.746 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.377/1.377, allocations: 222.9 MB / 240.6 MB, free: 4.398 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.403/2.403, allocations: 390.2 MB / 0.665 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 63.91 kB / 0.8127 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6603/0.6617, allocations: 140.4 MB / 0.9498 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002003/0.6638, allocations: 0.7548 MB / 0.9505 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008635/0.6647, allocations: 0.8425 MB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.778e-05/0.6647, allocations: 0 / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.6648, allocations: 0 / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.977e-05/0.6649, allocations: 5.219 kB / 0.9514 GB, free: 7.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.665, allocations: 16.11 kB / 0.9514 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.679e-05/0.6651, allocations: 46.22 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.6653, allocations: 15.2 kB / 0.9514 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.755e-05/0.6653, allocations: 18.42 kB / 0.9514 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.862e-05/0.6654, allocations: 27.05 kB / 0.9515 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.6654, allocations: 7.703 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.434e-05/0.6655, allocations: 4.812 kB / 0.9515 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.6655, allocations: 13.05 kB / 0.9515 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.6655, allocations: 24.36 kB / 0.9515 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.418e-05/0.6656, allocations: 26.44 kB / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.6656, allocations: 0 / 0.9515 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6656, allocations: 3.938 kB / 0.9515 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.6656, allocations: 1.281 kB / 0.9515 GB, free: 7.777 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.0004815/0.6661, allocations: 362.6 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.6662, allocations: 9.656 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.6662, allocations: 3.594 kB / 0.9519 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.6663, allocations: 178.8 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.6663, allocations: 1.688 kB / 0.9521 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.6664, allocations: 6.969 kB / 0.9521 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001968/0.6666, allocations: 67.84 kB / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.6666, allocations: 0 / 0.9522 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.6666, allocations: 5.625 kB / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.6666, allocations: 0 / 0.9522 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001958/0.6668, allocations: 51.34 kB / 0.9522 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.6672, allocations: 286 kB / 0.9525 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001904/0.6674, allocations: 67.92 kB / 0.9525 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6675, allocations: 37.33 kB / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.6675, allocations: 0 / 0.9526 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.6675, allocations: 32.22 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 8.32e-07/0.6675, allocations: 0 / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003992/0.6679, allocations: 124.6 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.668, allocations: 52.69 kB / 0.9528 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.668, allocations: 107.7 kB / 0.9529 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.6681, allocations: 25.7 kB / 0.9529 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.752e-05/0.6681, allocations: 85.55 kB / 0.953 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.6681, allocations: 17.06 kB / 0.953 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.6682, allocations: 21.95 kB / 0.953 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.405e-05/0.6682, allocations: 320 kB / 0.9533 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.836e-05/0.6683, allocations: 29.56 kB / 0.9534 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.731e-05/0.6684, allocations: 19.89 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.6686, allocations: 55.22 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6686, allocations: 0 / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002289/0.6688, allocations: 89.48 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.6689, allocations: 5.281 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.6689, allocations: 3.938 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6689, allocations: 1.375 kB / 0.9535 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.669, allocations: 13.02 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.669, allocations: 0 / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.934e-05/0.6691, allocations: 7.516 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.6691, allocations: 1.25 kB / 0.9535 GB, free: 5.816 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.382e-05/0.6692, allocations: 120.2 kB / 0.9537 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.6692, allocations: 6.438 kB / 0.9537 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.6693, allocations: 9.188 kB / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6693, allocations: 0 / 0.9537 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6693, allocations: 5.312 kB / 0.9537 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.6693, allocations: 3.984 kB / 0.9537 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.6694, allocations: 171.7 kB / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6694, allocations: 0 / 0.9538 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.372e-05/0.6695, allocations: 12.61 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6695, allocations: 1.156 kB / 0.9539 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.6696, allocations: 5.531 kB / 0.9539 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.6696, allocations: 7.984 kB / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.6696, allocations: 0 / 0.9539 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.6698, allocations: 180 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.693e-05/0.6699, allocations: 83.33 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.6699, allocations: 384 / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.67, allocations: 12.47 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.759e-05/0.6701, allocations: 7.203 kB / 0.9541 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.6701, allocations: 9.797 kB / 0.9542 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.6701, allocations: 85.28 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6701, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002224/0.6704, allocations: 10.66 kB / 0.9542 GB, free: 5.086 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.0001134/0.6705, allocations: 109.3 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.6707, allocations: 57.78 kB / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.6708, allocations: 0 / 0.9544 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.6709, allocations: 37.53 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.6712, allocations: 2.812 kB / 0.9544 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003263/0.6715, allocations: 164.5 kB / 0.9546 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.6716, allocations: 0.6924 MB / 0.9553 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.363e-05/0.6717, allocations: 15.53 kB / 0.9553 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6717, allocations: 3.938 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of Templates: time 0.002019/0.6737, allocations: 0.8042 MB / 0.9561 GB, free: 3.645 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/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