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.008005/0.008005, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.002012/0.002012, allocations: 188.6 kB / 16.67 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.48/1.48, 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 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 75.88 kB / 0.9504 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8992/0.9008, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001974/0.9028, allocations: 0.7036 MB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009395/0.9037, allocations: 0.8395 MB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.9038, allocations: 1.094 kB / 1.089 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.9038, allocations: 8.547 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.154e-05/0.9039, allocations: 6.078 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.9041, allocations: 22.38 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.9042, allocations: 44.14 kB / 1.089 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.9043, allocations: 16.95 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.243e-05/0.9044, allocations: 18.81 kB / 1.089 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.9045, allocations: 29.59 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.9045, allocations: 8.5 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.9046, allocations: 3.5 kB / 1.089 GB, free: 4.105 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.9046, allocations: 12.12 kB / 1.089 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.9046, allocations: 20.94 kB / 1.089 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.9048, allocations: 43.89 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.9048, allocations: 1.281 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.714e-06/0.9048, allocations: 0 / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.9048, allocations: 0 / 1.089 GB, free: 4.066 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.0006111/0.9054, allocations: 358.4 kB / 1.09 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.9055, allocations: 14.23 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.9055, allocations: 32.64 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.675e-05/0.9056, allocations: 7.625 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.9057, allocations: 164.8 kB / 1.09 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.9058, allocations: 5.812 kB / 1.09 GB, free: 3.453 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.9058, allocations: 5.812 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.906, allocations: 72.78 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.906, allocations: 0 / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.906, allocations: 1.953 kB / 1.09 GB, free: 3.402 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.9061, allocations: 9.25 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002347/0.9063, allocations: 47.27 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.9068, allocations: 287.8 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.907, allocations: 68.86 kB / 1.09 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.9071, allocations: 39.94 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.9072, allocations: 1.125 kB / 1.09 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.9072, allocations: 32.33 kB / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.9072, allocations: 0 / 1.09 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0004781/0.9077, allocations: 110.1 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.9077, allocations: 56.44 kB / 1.09 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.9078, allocations: 106.8 kB / 1.091 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.9078, allocations: 25.7 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.9079, allocations: 91.52 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.193e-05/0.9079, allocations: 9.531 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.908, allocations: 20.33 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.9081, allocations: 321.4 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.9082, allocations: 26.98 kB / 1.091 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.9083, allocations: 24.56 kB / 1.091 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.9085, allocations: 57.34 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9085, allocations: 0.5156 kB / 1.091 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002637/0.9088, allocations: 87.86 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.9088, allocations: 5.594 kB / 1.091 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.9089, allocations: 4.609 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.9089, allocations: 1.344 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.909, allocations: 12.83 kB / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.909, allocations: 0 / 1.091 GB, free: 2.223 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.9091, allocations: 11.09 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.896e-06/0.9091, allocations: 5.453 kB / 1.091 GB, free: 2.215 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 8.086e-05/0.9092, allocations: 113.3 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.542e-05/0.9092, allocations: 1.938 kB / 1.091 GB, free: 2.098 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.9093, allocations: 14.36 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.9093, allocations: 1.094 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9093, allocations: 0 / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.9093, allocations: 0.7969 kB / 1.091 GB, free: 2.082 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.9095, allocations: 178.7 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-06/0.9095, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.9096, allocations: 13.08 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.9096, allocations: 0.9688 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.9096, allocations: 1.781 kB / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.9096, allocations: 0 / 1.092 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.9096, allocations: 5.766 kB / 1.092 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.91, allocations: 186.5 kB / 1.092 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.026e-05/0.91, allocations: 80.41 kB / 1.092 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.91, allocations: 4.703 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.709e-05/0.9101, allocations: 6.297 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.31e-05/0.9102, allocations: 18.83 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.9102, allocations: 6.141 kB / 1.092 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.301e-05/0.9103, allocations: 88.14 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9103, allocations: 0 / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002232/0.9105, allocations: 10.69 kB / 1.092 GB, free: 1.527 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.0006319/0.9112, allocations: 0.7184 MB / 1.093 GB, free: 16.85 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002918/0.9115, allocations: 56.31 kB / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.9115, allocations: 0 / 1.093 GB, free: 16.84 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.9116, allocations: 33.89 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.0003089/0.9119, allocations: 8.062 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.001705/0.9136, allocations: 1.328 MB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.914, allocations: 0.681 MB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.991e-05/0.914, allocations: 4.234 kB / 1.095 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.9141, allocations: 22.27 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9141, allocations: 0 / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.9324, allocations: 1.823 MB / 1.097 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.603, allocations: 11.17 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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) Reference file matches