Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_9_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.008018/0.008018, allocations: 101.8 kB / 15.73 MB, free: 6 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.001859/0.001859, allocations: 197.8 kB / 16.68 MB, free: 5.926 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.423/1.423, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.968, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001972/0.97, allocations: 0.7033 MB / 1.088 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.971, allocations: 0.8374 MB / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.509e-05/0.971, allocations: 0 / 1.089 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.9711, allocations: 5.391 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.057e-05/0.9712, allocations: 5.422 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.9714, allocations: 26.84 kB / 1.089 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001001/0.9715, allocations: 44.8 kB / 1.089 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.9716, allocations: 16.91 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.534e-05/0.9717, allocations: 29.7 kB / 1.089 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.2e-05/0.9718, allocations: 25.44 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.9718, allocations: 4.438 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.377e-05/0.9718, allocations: 4.406 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.9718, allocations: 11.03 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.9719, allocations: 18.52 kB / 1.089 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.972, allocations: 47.84 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.972, allocations: 4 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.365e-06/0.972, allocations: 0 / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.972, allocations: 1.031 kB / 1.089 GB, free: 4.062 MB / 0.8575 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.0004833/0.9725, allocations: 358.2 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.9726, allocations: 10.36 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.9726, allocations: 32.53 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.15e-05/0.9726, allocations: 11.09 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.9728, allocations: 165.2 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.9728, allocations: 9.469 kB / 1.09 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.9728, allocations: 6.094 kB / 1.09 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.973, allocations: 64.61 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.973, allocations: 1.375 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.973, allocations: 4 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.973, allocations: 1.531 kB / 1.09 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.9733, allocations: 47.56 kB / 1.09 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003905/0.9737, allocations: 294.4 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.9739, allocations: 67.34 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.974, allocations: 30.97 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.974, allocations: 1.156 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.491e-05/0.974, allocations: 40.2 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.974, allocations: 0 / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004307/0.9745, allocations: 105.2 kB / 1.09 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.9745, allocations: 53.27 kB / 1.09 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.9746, allocations: 111.5 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.9746, allocations: 25.7 kB / 1.091 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.9746, allocations: 91.41 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.9747, allocations: 13.61 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.9747, allocations: 15.44 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.9748, allocations: 321.8 kB / 1.091 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/0.9749, allocations: 23.23 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.234e-05/0.975, allocations: 31.61 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.9752, allocations: 58.17 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9752, allocations: 0 / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002342/0.9754, allocations: 83.78 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.9754, allocations: 5.891 kB / 1.091 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.9754, allocations: 5.125 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.9755, allocations: 0 / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.9756, allocations: 17.38 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.9756, allocations: 0 / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.9757, allocations: 19.17 kB / 1.091 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.9757, allocations: 5.719 kB / 1.091 GB, free: 2.207 MB / 0.8575 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 5.939e-05/0.9758, allocations: 109.4 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.9758, allocations: 2.141 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.9758, allocations: 9.859 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.9758, allocations: 1.406 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.9758, allocations: 0.6562 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.9758, allocations: 0 / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.976, allocations: 178.9 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.976, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.35e-05/0.9761, allocations: 13.61 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9761, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.9761, allocations: 5.812 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.9762, allocations: 4.906 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9762, allocations: 1.125 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000267/0.9764, allocations: 187.9 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.9765, allocations: 78.84 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.9765, allocations: 0.7969 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.9766, allocations: 7.703 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.9766, allocations: 10.58 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.9767, allocations: 1.797 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.9767, allocations: 95.02 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9767, allocations: 0 / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002142/0.9769, allocations: 6.781 kB / 1.092 GB, free: 1.535 MB / 0.8575 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.0006366/0.9776, allocations: 0.722 MB / 1.093 GB, free: 16.86 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000275/0.9778, allocations: 53.45 kB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.9779, allocations: 4 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001258/0.978, allocations: 37.67 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003103/0.9783, allocations: 7.484 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.9799, allocations: 1.327 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.9802, allocations: 0.6854 MB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.5e-05/0.9802, allocations: 4.547 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.699e-05/0.9803, allocations: 20.59 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.9803, allocations: 0 / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02081/1.001, allocations: 1.854 MB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.713/8.714, allocations: 6.344 kB / 1.097 GB, free: 14.5 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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