Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009889/0.009889, allocations: 98.62 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.00177/0.00177, allocations: 200.5 kB / 16.67 MB, free: 5.973 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.568/1.568, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.075/3.075, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 59.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3689, allocations: 157.4 MB / 1.208 GB, free: 9.668 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002234/0.3711, allocations: 0.7071 MB / 1.208 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3723, allocations: 0.8312 MB / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.3724, allocations: 0 / 1.209 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.3725, allocations: 3.938 kB / 1.209 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.3726, allocations: 3.938 kB / 1.209 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002014/0.3728, allocations: 31.95 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3729, allocations: 51.84 kB / 1.209 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.3731, allocations: 8 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3732, allocations: 15.98 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.3733, allocations: 35.83 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.817e-05/0.3734, allocations: 7.938 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.787e-05/0.3734, allocations: 7.938 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.615e-05/0.3735, allocations: 8 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.3735, allocations: 23.86 kB / 1.209 GB, free: 7.922 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3737, allocations: 47.84 kB / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.3737, allocations: 0 / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3737, allocations: 0 / 1.209 GB, free: 7.875 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.3737, allocations: 0 / 1.209 GB, free: 7.875 MB / 0.9669 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.0007091/0.3744, allocations: 351.4 kB / 1.21 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.3745, allocations: 12.62 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.3745, allocations: 8.828 kB / 1.21 GB, free: 7.465 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.3748, allocations: 168.4 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3748, allocations: 384 / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.3748, allocations: 8.375 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/0.3751, allocations: 73.53 kB / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.978e-06/0.3751, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3751, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.3751, allocations: 0 / 1.21 GB, free: 7.176 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000223/0.3754, allocations: 51.94 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005419/0.3759, allocations: 296.7 kB / 1.21 GB, free: 6.785 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.3761, allocations: 66.42 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.3763, allocations: 36.91 kB / 1.211 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.3763, allocations: 4 kB / 1.211 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3763, allocations: 34.56 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3763, allocations: 0 / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004665/0.3768, allocations: 105.6 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.3769, allocations: 51.41 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.96e-05/0.377, allocations: 113.7 kB / 1.211 GB, free: 6.332 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.377, allocations: 25.7 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.3771, allocations: 96.12 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.3771, allocations: 3.906 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.3771, allocations: 17.72 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3773, allocations: 322.8 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.3774, allocations: 23.98 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.3775, allocations: 23.97 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002131/0.3777, allocations: 52.81 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3777, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002546/0.378, allocations: 93.86 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.378, allocations: 8 kB / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.378, allocations: 0 / 1.211 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.378, allocations: 3.938 kB / 1.211 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.3782, allocations: 11.98 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3782, allocations: 7.938 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.839e-05/0.3783, allocations: 4 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3783, allocations: 7.984 kB / 1.211 GB, free: 5.609 MB / 0.9669 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 0.0001101/0.3784, allocations: 113.8 kB / 1.212 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.3784, allocations: 4 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.3785, allocations: 7.906 kB / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3785, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3785, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3785, allocations: 0 / 1.212 GB, free: 5.469 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.3787, allocations: 185.5 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.3787, allocations: 0 / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.486e-05/0.3788, allocations: 19.92 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3789, allocations: 0 / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.3789, allocations: 4 kB / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3789, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3789, allocations: 0 / 1.212 GB, free: 5.215 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3792, allocations: 191.3 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3793, allocations: 77.11 kB / 1.212 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.3793, allocations: 7.984 kB / 1.212 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.912e-05/0.3794, allocations: 8 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.627e-05/0.3794, allocations: 3.984 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.474e-06/0.3795, allocations: 8 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.502e-05/0.3795, allocations: 83.27 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3795, allocations: 0 / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000234/0.3798, allocations: 19.94 kB / 1.212 GB, free: 4.789 MB / 0.9669 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.0001323/0.3799, allocations: 95.25 kB / 1.212 GB, free: 4.688 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002951/0.3802, allocations: 59.88 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3802, allocations: 0 / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.3803, allocations: 31.98 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.3806, allocations: 7.984 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004105/0.381, allocations: 133.4 kB / 1.212 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.3814, allocations: 0.6807 MB / 1.213 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.07e-05/0.3814, allocations: 7.984 kB / 1.213 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3815, allocations: 15.44 kB / 1.213 GB, free: 3.703 MB / 0.9669 GB Notification: Performance of SimCode: time 3.9e-07/0.3815, allocations: 4 kB / 1.213 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of Templates: time 0.003414/0.3849, allocations: 0.9005 MB / 1.214 GB, free: 2.805 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches