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.007792/0.007792, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.001567/0.001567, allocations: 201.3 kB / 16.68 MB, free: 5.93 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.332/1.332, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.448/2.448, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7372/0.7386, 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.001901/0.7405, allocations: 0.715 MB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.7416, allocations: 0.8414 MB / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.7417, allocations: 0 / 1.168 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.059e-05/0.7417, allocations: 7.938 kB / 1.168 GB, free: 2.18 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.421e-05/0.7418, allocations: 7.938 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001519/0.742, allocations: 19.97 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.7421, allocations: 43.91 kB / 1.168 GB, free: 2.109 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.7422, allocations: 19.92 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.265e-05/0.7423, allocations: 15.98 kB / 1.168 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.626e-05/0.7423, allocations: 23.86 kB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.7424, allocations: 8 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.7424, allocations: 8 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.7424, allocations: 15.91 kB / 1.168 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.7425, allocations: 23.86 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.7426, allocations: 39.86 kB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7426, allocations: 0 / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7426, allocations: 3.938 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.7426, allocations: 0 / 1.168 GB, free: 1.953 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.0005098/0.7431, allocations: 365 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.7432, allocations: 8.625 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.7432, allocations: 38.75 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.735e-05/0.7433, allocations: 0.9375 kB / 1.168 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.7434, allocations: 172.3 kB / 1.168 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.7434, allocations: 4.375 kB / 1.168 GB, free: 1.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.7434, allocations: 8.125 kB / 1.168 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.7437, allocations: 65.59 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.7437, allocations: 0 / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7437, allocations: 4 kB / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7437, allocations: 0 / 1.169 GB, free: 1.207 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002173/0.7439, allocations: 55.95 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.7443, allocations: 288.7 kB / 1.169 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001985/0.7446, allocations: 62.48 kB / 1.169 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.7447, allocations: 40.91 kB / 1.169 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.7447, allocations: 11.98 kB / 1.169 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.7447, allocations: 34.56 kB / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.7447, allocations: 0 / 1.169 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0004087/0.7452, allocations: 105.6 kB / 1.169 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.7452, allocations: 59.34 kB / 1.169 GB, free: 484 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.842e-05/0.7453, allocations: 105.8 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.7453, allocations: 29.7 kB / 1.169 GB, free: 332 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.299e-05/0.7454, allocations: 92.08 kB / 1.169 GB, free: 236 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.7454, allocations: 7.953 kB / 1.169 GB, free: 228 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.7454, allocations: 13.72 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.7456, allocations: 322.8 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.7457, allocations: 23.98 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.41e-05/0.7458, allocations: 27.97 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.746, allocations: 52.81 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.746, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002466/0.7462, allocations: 81.61 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7463, allocations: 11.94 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.7463, allocations: 3.984 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7463, allocations: 4 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/0.7464, allocations: 11.98 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.7464, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.945e-05/0.7465, allocations: 4 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.7465, allocations: 3.938 kB / 1.17 GB, free: 15.65 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 7.7e-05/0.7466, allocations: 120 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.7466, allocations: 4 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.446e-05/0.7467, allocations: 11.84 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.7467, allocations: 4 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7467, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.7467, allocations: 0 / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.7469, allocations: 177.6 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7469, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.747, allocations: 11.98 kB / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.747, allocations: 0 / 1.17 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.747, allocations: 3.938 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.747, allocations: 4 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.747, allocations: 0 / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.7473, allocations: 195.3 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.7474, allocations: 81.05 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.7474, allocations: 0 / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.7475, allocations: 7.984 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.7475, allocations: 12.36 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.7475, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.297e-05/0.7476, allocations: 95.2 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7476, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000234/0.7478, 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.0005377/0.7484, allocations: 0.7163 MB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002474/0.7486, allocations: 59.94 kB / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7487, allocations: 0 / 1.171 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.7488, allocations: 23.98 kB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.7491, allocations: 12.53 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.00146/0.7505, allocations: 1.329 MB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.7508, allocations: 0.6807 MB / 1.173 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.7508, allocations: 4 kB / 1.173 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.267e-05/0.7509, allocations: 15.42 kB / 1.173 GB, free: 11.85 MB / 0.9044 GB Notification: Performance of SimCode: time 3.71e-07/0.7509, allocations: 4 kB / 1.173 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0177/0.7686, allocations: 1.836 MB / 1.175 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/8.123, allocations: 14.52 kB / 1.175 GB, free: 10.1 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