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.001591/0.001591, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001945/0.001945, allocations: 194.6 kB / 16.25 MB, free: 6.633 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.352/1.352, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.335/2.335, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6802, allocations: 140.4 MB / 0.9492 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002488/0.6827, allocations: 0.7653 MB / 0.95 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001067/0.6839, allocations: 0.8422 MB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.495e-05/0.6839, allocations: 1.375 kB / 0.9508 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.216e-05/0.684, allocations: 3.938 kB / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.642e-05/0.6841, allocations: 0 / 0.9508 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001577/0.6842, allocations: 25.42 kB / 0.9508 GB, free: 7.879 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.512e-05/0.6843, allocations: 37.86 kB / 0.9509 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.6845, allocations: 26.78 kB / 0.9509 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.6846, allocations: 18.8 kB / 0.9509 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.6846, allocations: 22.8 kB / 0.9509 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.626e-05/0.6847, allocations: 4.125 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.532e-05/0.6847, allocations: 4.125 kB / 0.951 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.144e-05/0.6847, allocations: 17.28 kB / 0.951 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.6848, allocations: 20.05 kB / 0.951 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.211e-05/0.6849, allocations: 40.06 kB / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.6849, allocations: 0 / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.246e-06/0.6849, allocations: 0 / 0.951 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.6849, allocations: 0 / 0.951 GB, free: 7.75 MB / 0.7169 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.0005228/0.6854, allocations: 364.8 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/0.6855, allocations: 9.625 kB / 0.9514 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.6855, allocations: 30.75 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.6856, allocations: 3.688 kB / 0.9514 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.6857, allocations: 175 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.6857, allocations: 5.75 kB / 0.9516 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.6858, allocations: 7.062 kB / 0.9516 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.686, allocations: 71.47 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.686, allocations: 1.375 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.686, allocations: 0 / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.686, allocations: 1.375 kB / 0.9517 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000205/0.6862, allocations: 50.02 kB / 0.9517 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004788/0.6867, allocations: 290.1 kB / 0.952 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.687, allocations: 63.92 kB / 0.9521 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.6871, allocations: 37.44 kB / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.6871, allocations: 0 / 0.9521 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.6871, allocations: 32.03 kB / 0.9521 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.6871, allocations: 4 kB / 0.9521 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.000445/0.6876, allocations: 113.2 kB / 0.9522 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.6876, allocations: 52.91 kB / 0.9523 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.572e-05/0.6877, allocations: 106.1 kB / 0.9524 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.6877, allocations: 27.23 kB / 0.9524 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.6878, allocations: 89.25 kB / 0.9525 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/0.6878, allocations: 18.09 kB / 0.9525 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.6879, allocations: 22.34 kB / 0.9525 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.6879, allocations: 322.8 kB / 0.9528 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.688, allocations: 24.8 kB / 0.9529 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.362e-05/0.6881, allocations: 25.28 kB / 0.9529 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.6883, allocations: 55.27 kB / 0.9529 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6883, allocations: 4 kB / 0.9529 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002344/0.6886, allocations: 84.56 kB / 0.953 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.6886, allocations: 9.609 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.6886, allocations: 0 / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.6886, allocations: 1.312 kB / 0.953 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.6888, allocations: 11.86 kB / 0.953 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.6888, allocations: 1.375 kB / 0.9531 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.6889, allocations: 7.281 kB / 0.9531 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.6889, allocations: 9.234 kB / 0.9531 GB, free: 5.742 MB / 0.7169 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.915e-05/0.6889, allocations: 117.2 kB / 0.9532 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.689, allocations: 5.312 kB / 0.9532 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.689, allocations: 9.375 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.689, allocations: 0 / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.689, allocations: 1.312 kB / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.689, allocations: 0 / 0.9532 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.6892, allocations: 175.3 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6892, allocations: 1.188 kB / 0.9534 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.6893, allocations: 16.86 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.6893, allocations: 0 / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6893, allocations: 0.6875 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.6893, allocations: 1.375 kB / 0.9534 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6893, allocations: 3.938 kB / 0.9534 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002622/0.6896, allocations: 180.5 kB / 0.9536 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.6896, allocations: 86.27 kB / 0.9536 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.6897, allocations: 11.92 kB / 0.9536 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.6898, allocations: 3.781 kB / 0.9537 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.6898, allocations: 11.83 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.6898, allocations: 1.25 kB / 0.9537 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.271e-05/0.6899, allocations: 89.94 kB / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6899, allocations: 0 / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002195/0.6901, allocations: 15.69 kB / 0.9538 GB, free: 5.012 MB / 0.7169 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.0005004/0.6906, allocations: 0.7122 MB / 0.9545 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.6909, allocations: 67.38 kB / 0.9545 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6909, allocations: 3.938 kB / 0.9545 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.691, allocations: 35.16 kB / 0.9546 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.6914, allocations: 11.62 kB / 0.9546 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.6928, allocations: 1.322 MB / 0.9559 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001477/0.693, allocations: 0.6877 MB / 0.9565 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.052e-05/0.693, allocations: 7.766 kB / 0.9565 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.863e-05/0.6931, allocations: 19.44 kB / 0.9566 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.6931, allocations: 0 / 0.9566 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01215/0.7052, allocations: 1.637 MB / 0.9582 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.7055, allocations: 210.4 kB / 0.9584 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.671, allocations: 4 kB / 0.9584 GB, free: 1.188 MB / 0.7169 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) Reference file matches