Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00802/0.00802, allocations: 96.36 kB / 15.73 MB, free: 6.039 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: 203.2 kB / 16.68 MB, free: 5.969 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.852/2.852, allocations: 469.8 MB / 0.7425 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.88 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.3582, allocations: 159.1 MB / 1.221 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001871/0.36, allocations: 0.7148 MB / 1.221 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000914/0.361, allocations: 0.8312 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.212e-05/0.361, allocations: 4 kB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.361, allocations: 7.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.3611, allocations: 3.938 kB / 1.222 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001436/0.3612, allocations: 27.95 kB / 1.222 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.338e-05/0.3613, allocations: 51.84 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3615, allocations: 8 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.151e-05/0.3615, allocations: 11.98 kB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.577e-05/0.3616, allocations: 35.83 kB / 1.222 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3616, allocations: 7.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.167e-05/0.3616, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.07e-05/0.3616, allocations: 8 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.3617, allocations: 27.86 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.3618, allocations: 43.84 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3618, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3618, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.3618, allocations: 0 / 1.222 GB, free: 12.05 MB / 0.9825 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.0005208/0.3623, allocations: 359.3 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.3623, allocations: 8.031 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.3624, allocations: 4.891 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3625, allocations: 168.4 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.3625, allocations: 8.375 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3626, allocations: 384 / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.3627, allocations: 73.53 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3628, allocations: 0 / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3628, allocations: 4 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3628, allocations: 0 / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001912/0.363, allocations: 47.95 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.3634, allocations: 296.8 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.3636, allocations: 66.47 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3637, allocations: 32.91 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.3637, allocations: 3.938 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3637, allocations: 38.56 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3637, allocations: 3.938 kB / 1.223 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004112/0.3641, allocations: 101.6 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.3642, allocations: 55.41 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.3643, allocations: 121.7 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.3643, allocations: 25.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.3643, allocations: 92.08 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.3643, allocations: 11.95 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.672e-05/0.3644, allocations: 17.72 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.3645, allocations: 318.8 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.3646, allocations: 19.98 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.518e-05/0.3647, allocations: 27.97 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.3648, allocations: 56.81 kB / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3648, allocations: 0 / 1.224 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002183/0.3651, allocations: 81.61 kB / 1.224 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3651, allocations: 7.984 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3651, allocations: 3.938 kB / 1.224 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3651, allocations: 4 kB / 1.224 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3652, allocations: 11.98 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3652, allocations: 4 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.3653, allocations: 8 kB / 1.224 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.3653, allocations: 3.984 kB / 1.224 GB, free: 9.777 MB / 0.9825 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 7.176e-05/0.3654, allocations: 113.8 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3654, allocations: 0 / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.3654, allocations: 11.91 kB / 1.224 GB, free: 9.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3654, allocations: 4 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3654, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3654, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3656, allocations: 185.5 kB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3656, allocations: 0 / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.3657, allocations: 11.98 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3657, allocations: 0 / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3657, allocations: 7.938 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3657, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.3657, allocations: 0 / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.366, allocations: 191.7 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.993e-05/0.366, allocations: 81.11 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.366, allocations: 7.969 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.187e-05/0.3661, allocations: 4 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3662, allocations: 11.98 kB / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.3662, allocations: 0 / 1.225 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.281e-05/0.3662, allocations: 91.27 kB / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3662, allocations: 0 / 1.225 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000217/0.3664, allocations: 19.81 kB / 1.225 GB, free: 8.949 MB / 0.9825 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.0001208/0.3665, allocations: 103.2 kB / 1.225 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000238/0.3668, allocations: 63.88 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3668, allocations: 0 / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001006/0.3669, allocations: 23.98 kB / 1.225 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.3672, allocations: 9.875 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.3675, allocations: 141.3 kB / 1.225 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3678, allocations: 0.6807 MB / 1.226 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.894e-05/0.3678, allocations: 7.984 kB / 1.226 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.3678, allocations: 11.44 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3679, allocations: 4 kB / 1.226 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of Templates: time 0.002908/0.3708, allocations: 0.8906 MB / 1.227 GB, free: 6.969 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches