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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007653/0.0007653, allocations: 96.94 kB / 15.36 MB, free: 0.7344 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.004891/0.004891, allocations: 168.9 kB / 16.26 MB, free: 6.652 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.223/1.223, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.291/2.291, allocations: 437.8 MB / 0.7121 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003149/0.000315, allocations: 15.98 kB / 0.873 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5118/0.5121, allocations: 153.8 MB / 1.023 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.0007406/0.5129, allocations: 441.3 kB / 1.024 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007411/0.5137, allocations: 0.8312 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.5137, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.707e-05/0.5137, allocations: 11.94 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.355e-05/0.5138, allocations: 0 / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.5139, allocations: 23.92 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.328e-05/0.514, allocations: 39.91 kB / 1.024 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.513e-05/0.5141, allocations: 12 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.408e-05/0.5142, allocations: 19.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.706e-05/0.5142, allocations: 23.86 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.5143, allocations: 8 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-06/0.5143, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5143, allocations: 3.984 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.5143, allocations: 45.56 kB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.302e-05/0.5144, allocations: 39.84 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.5144, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5144, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.5144, allocations: 7.938 kB / 1.025 GB, free: 14.4 MB / 0.7794 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.0004161/0.5149, allocations: 353.7 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.5149, allocations: 12.03 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.02e-05/0.5149, allocations: 34.75 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.418e-05/0.515, allocations: 12.83 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5151, allocations: 164.3 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.5151, allocations: 4.375 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.5151, allocations: 384 / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5153, allocations: 85.53 kB / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.5153, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.5153, allocations: 0 / 1.025 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5153, allocations: 7.984 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.5155, allocations: 63.92 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.5159, allocations: 288.8 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002292/0.5161, allocations: 70.48 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.5163, allocations: 44.91 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.5163, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/0.5163, allocations: 30.56 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 2.706e-06/0.5163, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003983/0.5167, allocations: 137.4 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.5168, allocations: 51.41 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.919e-05/0.5168, allocations: 105.8 kB / 1.026 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.5169, allocations: 29.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.857e-05/0.5169, allocations: 88.12 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.552e-05/0.5169, allocations: 11.84 kB / 1.026 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.517, allocations: 13.72 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.517, allocations: 318.8 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.5172, allocations: 31.97 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.516e-05/0.5173, allocations: 27.97 kB / 1.027 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.5175, allocations: 68.81 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.5175, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002355/0.5177, allocations: 97.5 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.5177, allocations: 8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.5177, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.804e-06/0.5177, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.5179, allocations: 15.98 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.5179, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.31e-05/0.5179, allocations: 15.98 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.518, allocations: 4 kB / 1.027 GB, free: 12.02 MB / 0.7794 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 6.767e-05/0.518, allocations: 110.3 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.5181, allocations: 7.984 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.099e-05/0.5181, allocations: 7.906 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.5181, allocations: 3.938 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.5181, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5181, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.5183, allocations: 181.5 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.5183, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.107e-05/0.5184, allocations: 15.98 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5184, allocations: 0 / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.5185, allocations: 4.328 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5185, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5185, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.5187, allocations: 203.3 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.5188, allocations: 81.11 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.5188, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.513e-05/0.5189, allocations: 7.984 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.92e-05/0.519, allocations: 11.98 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/0.519, allocations: 8 kB / 1.027 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.649e-05/0.519, allocations: 87.27 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.519, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002056/0.5192, allocations: 15.84 kB / 1.027 GB, free: 11.18 MB / 0.7794 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.000495/0.5197, allocations: 0.7226 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.52, allocations: 67.95 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.52, allocations: 4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.5201, allocations: 31.97 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.5203, allocations: 11.94 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.5217, allocations: 1.357 MB / 1.03 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.5219, allocations: 0.6809 MB / 1.03 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.797e-05/0.5219, allocations: 4 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.522, allocations: 19.42 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of SimCode: time 3.01e-07/0.522, allocations: 0 / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3815/0.9035, allocations: 1.532 MB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002213/0.9038, allocations: 207.7 kB / 1.032 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.48, allocations: 3.938 kB / 1.032 GB, free: 6.496 MB / 0.7794 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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