Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008471/0.008471, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.002107/0.002107, allocations: 195.9 kB / 16.68 MB, free: 5.523 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.362/2.362, allocations: 437 MB / 0.7105 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 75.86 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7632/0.7646, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001883/0.7665, allocations: 0.7135 MB / 1.167 GB, free: 3.043 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.7676, allocations: 0.8453 MB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.138e-05/0.7677, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.7677, allocations: 7.938 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.7678, allocations: 3.938 kB / 1.168 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.768, allocations: 23.91 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.063e-05/0.7681, allocations: 43.84 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.7682, allocations: 12 kB / 1.168 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.178e-05/0.7683, allocations: 27.97 kB / 1.168 GB, free: 2.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.7684, allocations: 27.84 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.7684, allocations: 4 kB / 1.168 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.7684, allocations: 4 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.7684, allocations: 8 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.493e-05/0.7685, allocations: 23.84 kB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.7686, allocations: 43.86 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7686, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.7686, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7686, allocations: 0 / 1.168 GB, free: 1.961 MB / 0.8887 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.0005242/0.7691, allocations: 359 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.7692, allocations: 8.922 kB / 1.168 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.7692, allocations: 42.73 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.7693, allocations: 0.9375 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001414/0.7694, allocations: 176.3 kB / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.532e-05/0.7695, allocations: 384 / 1.168 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.744e-05/0.7695, allocations: 8.125 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.7697, allocations: 69.64 kB / 1.169 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.7697, allocations: 8 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.7697, allocations: 0 / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.7698, allocations: 3.938 kB / 1.169 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.77, allocations: 55.88 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004251/0.7704, allocations: 292.7 kB / 1.169 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.7706, allocations: 62.55 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001137/0.7707, allocations: 36.91 kB / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.7708, allocations: 0 / 1.169 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.7708, allocations: 34.56 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.7708, allocations: 0 / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004225/0.7712, allocations: 113.6 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.7713, allocations: 55.39 kB / 1.169 GB, free: 488 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.067e-05/0.7714, allocations: 105.8 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.063e-05/0.7714, allocations: 25.7 kB / 1.169 GB, free: 340 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.7714, allocations: 92.09 kB / 1.169 GB, free: 244 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.7715, allocations: 3.953 kB / 1.169 GB, free: 240 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.7715, allocations: 21.7 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.7716, allocations: 318.8 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.7717, allocations: 27.97 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.572e-05/0.7718, allocations: 23.98 kB / 1.17 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.772, allocations: 53.03 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.772, allocations: 0 / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002564/0.7723, allocations: 97.58 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.7723, allocations: 8 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.7723, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7724, allocations: 0 / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.7725, allocations: 11.98 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.7725, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.143e-05/0.7726, allocations: 7.984 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.7726, allocations: 7.938 kB / 1.17 GB, free: 15.64 MB / 0.9044 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.467e-05/0.7727, allocations: 113.8 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.7727, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/0.7728, allocations: 3.906 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7728, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7728, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.7728, allocations: 0 / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.773, allocations: 189.6 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.773, allocations: 7.938 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.639e-05/0.7731, allocations: 11.98 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7731, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.7731, allocations: 4 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.7731, allocations: 4 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7731, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.7734, allocations: 183.4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.7735, allocations: 88.97 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.7735, allocations: 4 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.701e-05/0.7736, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.396e-05/0.7737, allocations: 15.98 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.7737, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.836e-05/0.7738, allocations: 91.2 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7738, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002296/0.774, allocations: 11.95 kB / 1.171 GB, free: 14.82 MB / 0.9044 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.0005558/0.7746, allocations: 0.7163 MB / 1.171 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002495/0.7748, allocations: 55.94 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7748, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.775, allocations: 39.91 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000287/0.7753, allocations: 2.5 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.7768, allocations: 1.328 MB / 1.173 GB, free: 12.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.777, allocations: 0.6807 MB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.598e-05/0.7771, allocations: 8 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.7771, allocations: 19.42 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of SimCode: time 2.61e-07/0.7772, allocations: 7.938 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01786/0.795, allocations: 1.828 MB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/8.17, allocations: 18.2 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches