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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_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.009151/0.009151, allocations: 101.3 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.001813/0.001813, allocations: 187.3 kB / 16.67 MB, free: 5.965 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 67.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3373, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002105/0.3394, allocations: 0.7054 MB / 1.208 GB, free: 9.418 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.3406, allocations: 0.8273 MB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.862e-05/0.3407, allocations: 0 / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.927e-05/0.3408, allocations: 3.938 kB / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.262e-05/0.3409, allocations: 7.938 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.3411, allocations: 27.95 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3412, allocations: 47.84 kB / 1.209 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.3413, allocations: 16 kB / 1.209 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.474e-05/0.3414, allocations: 15.98 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.905e-05/0.3415, allocations: 31.83 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.3415, allocations: 8 kB / 1.209 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.3416, allocations: 4 kB / 1.209 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.122e-05/0.3416, allocations: 4 kB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.541e-05/0.3416, allocations: 23.86 kB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.3418, allocations: 43.8 kB / 1.209 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3418, allocations: 4 kB / 1.209 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.427e-06/0.3418, allocations: 3.984 kB / 1.209 GB, free: 8.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3418, allocations: 0 / 1.209 GB, free: 8.34 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.0005545/0.3424, allocations: 357.9 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3424, allocations: 8.625 kB / 1.209 GB, free: 7.938 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/0.3425, allocations: 38.73 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.693e-05/0.3425, allocations: 8.844 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.3427, allocations: 176.2 kB / 1.21 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.3427, allocations: 4.375 kB / 1.21 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.3427, allocations: 8.125 kB / 1.21 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3429, allocations: 61.66 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.343, allocations: 0 / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.343, allocations: 8 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.343, allocations: 0 / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.3432, allocations: 59.88 kB / 1.21 GB, free: 7.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.3437, allocations: 288.8 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.3438, allocations: 62.48 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.344, allocations: 36.84 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.344, allocations: 0 / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.344, allocations: 38.56 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.344, allocations: 0 / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.000398/0.3444, allocations: 109.5 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3445, allocations: 51.41 kB / 1.21 GB, free: 6.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.3446, allocations: 109.8 kB / 1.21 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3446, allocations: 25.7 kB / 1.21 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.3446, allocations: 92.12 kB / 1.21 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3447, allocations: 7.906 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.3447, allocations: 13.72 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3448, allocations: 322.8 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.81e-05/0.3449, allocations: 27.92 kB / 1.211 GB, free: 6.242 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.345, allocations: 23.97 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.3452, allocations: 57.09 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3452, allocations: 0 / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002284/0.3454, allocations: 89.53 kB / 1.211 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3454, allocations: 8 kB / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.3455, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3455, allocations: 0 / 1.211 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3456, allocations: 11.98 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3456, allocations: 3.938 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.986e-05/0.3457, allocations: 15.98 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3457, allocations: 3.938 kB / 1.211 GB, free: 6.023 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 7.266e-05/0.3458, allocations: 109.8 kB / 1.211 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.3458, allocations: 4 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3459, allocations: 7.906 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.3459, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3459, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3459, allocations: 0 / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001694/0.3461, allocations: 185.4 kB / 1.211 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3461, allocations: 4 kB / 1.211 GB, free: 5.652 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.3462, allocations: 19.86 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3462, allocations: 0 / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3462, allocations: 4 kB / 1.211 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3462, allocations: 4 kB / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3462, allocations: 0 / 1.211 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3465, allocations: 187.4 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3465, allocations: 81.09 kB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.443e-05/0.3466, allocations: 0 / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.12e-05/0.3467, allocations: 8 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.3467, allocations: 11.98 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3467, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.3468, allocations: 95.5 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3468, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002244/0.347, allocations: 11.91 kB / 1.212 GB, free: 5.199 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.0006036/0.3476, allocations: 0.7125 MB / 1.212 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3479, allocations: 59.88 kB / 1.213 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3479, allocations: 4 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.348, allocations: 27.97 kB / 1.213 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3483, allocations: 8 kB / 1.213 GB, free: 4.363 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3497, allocations: 1.329 MB / 1.214 GB, free: 2.957 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002163/0.35, allocations: 0.6846 MB / 1.215 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.866e-05/0.35, allocations: 4.047 kB / 1.215 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.3501, allocations: 19.42 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of SimCode: time 2e-07/0.3501, allocations: 0 / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01804/0.3681, allocations: 1.835 MB / 1.216 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.661/8.029, allocations: 9.812 kB / 1.216 GB, free: 0.4922 MB / 0.9669 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,addPar.u,addPar.y Variables in the result:addPar.p,addPar.u,addPar.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,reaToInt.u,reaToInt.y,round1.n,round1.u,round1.y,time