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.001189/0.001188, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001247/0.001247, allocations: 195.4 kB / 16.25 MB, free: 6.629 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.41/1.41, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.413/2.413, allocations: 390.2 MB / 0.6644 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.91 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7148/0.7163, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002168/0.7185, allocations: 0.7567 MB / 0.9498 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008426/0.7194, allocations: 0.8385 MB / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.033e-05/0.7194, allocations: 0 / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.684e-05/0.7195, allocations: 0 / 0.9507 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.78e-05/0.7196, allocations: 9.297 kB / 0.9507 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.7197, allocations: 24.09 kB / 0.9507 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.215e-05/0.7198, allocations: 39.17 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.72, allocations: 13.48 kB / 0.9508 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.362e-05/0.72, allocations: 18.81 kB / 0.9508 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.199e-05/0.7201, allocations: 30.77 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.7201, allocations: 4.125 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.273e-05/0.7201, allocations: 5.5 kB / 0.9508 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.885e-05/0.7202, allocations: 17.23 kB / 0.9508 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.7202, allocations: 18.69 kB / 0.9508 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.195e-05/0.7203, allocations: 52.03 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.7203, allocations: 1.375 kB / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.364e-06/0.7203, allocations: 0 / 0.9509 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7203, allocations: 0 / 0.9509 GB, free: 7.703 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.000455/0.7208, allocations: 359.1 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.7208, allocations: 9.625 kB / 0.9512 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/0.7209, allocations: 7.625 kB / 0.9513 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.775e-05/0.721, allocations: 167 kB / 0.9514 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.721, allocations: 5.75 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.349e-05/0.721, allocations: 3.125 kB / 0.9514 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.7212, allocations: 67.66 kB / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7212, allocations: 0 / 0.9515 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.7212, allocations: 5.359 kB / 0.9515 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7213, allocations: 4 kB / 0.9515 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002025/0.7215, allocations: 47.45 kB / 0.9515 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.7219, allocations: 289.4 kB / 0.9518 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.7221, allocations: 68.66 kB / 0.9519 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.7222, allocations: 33.39 kB / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.7222, allocations: 0 / 0.9519 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.7222, allocations: 31.94 kB / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.7222, allocations: 0 / 0.9519 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004097/0.7226, allocations: 120.5 kB / 0.9521 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.7227, allocations: 52.97 kB / 0.9521 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.142e-05/0.7228, allocations: 111 kB / 0.9522 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.7228, allocations: 25.7 kB / 0.9522 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.041e-05/0.7228, allocations: 86.39 kB / 0.9523 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.7229, allocations: 13.44 kB / 0.9523 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.7229, allocations: 21.67 kB / 0.9524 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/0.723, allocations: 324.3 kB / 0.9527 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.7231, allocations: 24.12 kB / 0.9527 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.075e-05/0.7232, allocations: 24.95 kB / 0.9527 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000216/0.7234, allocations: 54.47 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.7234, allocations: 1.281 kB / 0.9528 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002411/0.7237, allocations: 93.41 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.7237, allocations: 5.438 kB / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.7237, allocations: 0 / 0.9529 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.7237, allocations: 4 kB / 0.9529 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.7239, allocations: 12.83 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.7239, allocations: 1.438 kB / 0.9529 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.902e-05/0.7239, allocations: 6.859 kB / 0.9529 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.724, allocations: 5.188 kB / 0.9529 GB, free: 5.746 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.366e-05/0.724, allocations: 120.4 kB / 0.953 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.734e-05/0.7241, allocations: 6.75 kB / 0.953 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.681e-05/0.7241, allocations: 7.906 kB / 0.953 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.7241, allocations: 5 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.7241, allocations: 1.438 kB / 0.953 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.7241, allocations: 3.984 kB / 0.953 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.7243, allocations: 171 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7243, allocations: 1.688 kB / 0.9532 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.7244, allocations: 11.52 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.7244, allocations: 1.531 kB / 0.9532 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.7244, allocations: 7.984 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7244, allocations: 0 / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7244, allocations: 1.312 kB / 0.9532 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.7247, allocations: 179.8 kB / 0.9534 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.7247, allocations: 82.52 kB / 0.9535 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.7248, allocations: 5.625 kB / 0.9535 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.933e-05/0.7249, allocations: 10.83 kB / 0.9535 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.725, allocations: 8.031 kB / 0.9535 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.725, allocations: 4.797 kB / 0.9535 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.463e-05/0.725, allocations: 85.25 kB / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.725, allocations: 0 / 0.9536 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002215/0.7252, allocations: 10.59 kB / 0.9536 GB, free: 5.02 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.0001548/0.7254, allocations: 101.3 kB / 0.9537 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.7257, allocations: 58.53 kB / 0.9537 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.7257, allocations: 1.406 kB / 0.9537 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.7259, allocations: 42.09 kB / 0.9538 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.7262, allocations: 2.891 kB / 0.9538 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.7267, allocations: 151.4 kB / 0.9539 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.727, allocations: 0.6842 MB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.63e-05/0.7271, allocations: 2.719 kB / 0.9546 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.7271, allocations: 10.91 kB / 0.9546 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of SimCode: time 5.21e-07/0.7271, allocations: 1.031 kB / 0.9546 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.00367/0.7308, allocations: 0.811 MB / 0.9554 GB, free: 3.602 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