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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007816/0.007816, allocations: 96.91 kB / 15.87 MB, free: 6.289 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.001748/0.001748, allocations: 196.8 kB / 16.79 MB, free: 6.215 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.46/1.46, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.348/2.348, allocations: 390.2 MB / 0.6649 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.88 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7034/0.7054, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002149/0.7076, allocations: 0.7641 MB / 0.9503 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.7086, allocations: 0.8327 MB / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.7087, allocations: 0 / 0.9512 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.977e-05/0.7087, allocations: 5 kB / 0.9512 GB, free: 7.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.189e-05/0.7089, allocations: 4 kB / 0.9512 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.709, allocations: 25.5 kB / 0.9512 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.7091, allocations: 41.03 kB / 0.9512 GB, free: 7.836 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.7092, allocations: 10.09 kB / 0.9512 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.414e-05/0.7093, allocations: 19.61 kB / 0.9513 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.101e-05/0.7094, allocations: 30.45 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.173e-05/0.7094, allocations: 2.5 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.329e-05/0.7094, allocations: 2.531 kB / 0.9513 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.7094, allocations: 13.22 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.7095, allocations: 23.73 kB / 0.9513 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.868e-05/0.7096, allocations: 34.3 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.7096, allocations: 1.219 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.32e-07/0.7096, allocations: 0 / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.249e-06/0.7096, allocations: 0 / 0.9514 GB, free: 7.738 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.0004638/0.7101, allocations: 359.1 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.7101, allocations: 10.16 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.7102, allocations: 6.375 kB / 0.9517 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.7103, allocations: 168.2 kB / 0.9519 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.7103, allocations: 5.75 kB / 0.9519 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.7103, allocations: 5.703 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.7105, allocations: 68.72 kB / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.7105, allocations: 0 / 0.952 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7105, allocations: 5.094 kB / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7106, allocations: 0 / 0.952 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.7108, allocations: 55.64 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.7112, allocations: 277.6 kB / 0.9523 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/0.7114, allocations: 70.39 kB / 0.9523 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.7115, allocations: 35.92 kB / 0.9524 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.7116, allocations: 9.266 kB / 0.9524 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.7116, allocations: 31.81 kB / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.7116, allocations: 0 / 0.9524 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004458/0.7121, allocations: 109.7 kB / 0.9525 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.7121, allocations: 51.41 kB / 0.9526 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.122e-05/0.7122, allocations: 111.8 kB / 0.9527 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.718e-06/0.7122, allocations: 25.7 kB / 0.9527 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.7122, allocations: 85.48 kB / 0.9528 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/0.7123, allocations: 18.25 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.7123, allocations: 21.39 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.7124, allocations: 320.3 kB / 0.9531 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.7125, allocations: 24.19 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.956e-05/0.7126, allocations: 28.55 kB / 0.9532 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.7128, allocations: 55.12 kB / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.7128, allocations: 0 / 0.9532 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002294/0.713, allocations: 86.11 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.713, allocations: 4.688 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.7131, allocations: 1.5 kB / 0.9533 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.7131, allocations: 4 kB / 0.9533 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.7132, allocations: 20.11 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.7132, allocations: 1.031 kB / 0.9533 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.7133, allocations: 8.016 kB / 0.9533 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.178e-06/0.7133, allocations: 1.656 kB / 0.9533 GB, free: 5.785 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 8.146e-05/0.7134, allocations: 120.6 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.7134, allocations: 5.312 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.805e-05/0.7135, allocations: 13.42 kB / 0.9535 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.7135, allocations: 4 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7135, allocations: 0 / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.7135, allocations: 1.344 kB / 0.9535 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.7136, allocations: 171.3 kB / 0.9537 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.7137, allocations: 3.984 kB / 0.9537 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.324e-05/0.7138, allocations: 12.98 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.7138, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.7138, allocations: 1.344 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7138, allocations: 0 / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.7138, allocations: 1.438 kB / 0.9537 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.7141, allocations: 187.2 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.7141, allocations: 86.39 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.7141, allocations: 1.156 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.34e-05/0.7142, allocations: 7.859 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/0.7143, allocations: 7.984 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.7143, allocations: 5.156 kB / 0.954 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.677e-05/0.7143, allocations: 89.14 kB / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7143, allocations: 0 / 0.954 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000224/0.7146, allocations: 10.66 kB / 0.954 GB, free: 5.055 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.0001252/0.7147, allocations: 101 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.715, allocations: 50.67 kB / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.715, allocations: 0 / 0.9542 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.7151, allocations: 38.97 kB / 0.9542 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.7154, allocations: 6.281 kB / 0.9542 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.7158, allocations: 165.6 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001141/0.7159, allocations: 0.6812 MB / 0.9551 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.716, allocations: 18.8 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.716, allocations: 0 / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002306/0.7183, allocations: 0.7967 MB / 0.9559 GB, free: 3.637 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