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.001473/0.001473, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001939/0.00194, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.413/2.413, allocations: 390.2 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7947/0.7964, allocations: 140.4 MB / 0.9497 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002044/0.7985, allocations: 0.6914 MB / 0.9504 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.7997, allocations: 0.8406 MB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.194e-05/0.7997, allocations: 1.125 kB / 0.9512 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.7998, allocations: 3.938 kB / 0.9512 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.7998, allocations: 5.375 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.8, allocations: 27.97 kB / 0.9513 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.459e-05/0.8001, allocations: 43.06 kB / 0.9513 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.8002, allocations: 10.34 kB / 0.9513 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.012e-05/0.8003, allocations: 26.86 kB / 0.9513 GB, free: 7.898 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.49e-05/0.8004, allocations: 30.55 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.319e-05/0.8004, allocations: 3.844 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.8004, allocations: 4.531 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.096e-05/0.8005, allocations: 13.02 kB / 0.9514 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.8005, allocations: 16 kB / 0.9514 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.953e-05/0.8006, allocations: 47.56 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.8006, allocations: 1.594 kB / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8006, allocations: 0 / 0.9515 GB, free: 7.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.8006, allocations: 0 / 0.9515 GB, free: 7.812 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.0005061/0.8011, allocations: 371.6 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.8012, allocations: 9.375 kB / 0.9518 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.036e-05/0.8012, allocations: 32.31 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.8012, allocations: 2.125 kB / 0.9519 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.8014, allocations: 167.2 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.8014, allocations: 2 kB / 0.952 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.8014, allocations: 7.375 kB / 0.952 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.8016, allocations: 76.36 kB / 0.9521 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.8016, allocations: 8 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.8016, allocations: 0 / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.8016, allocations: 1.312 kB / 0.9521 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.8018, allocations: 46.45 kB / 0.9521 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.8022, allocations: 285.7 kB / 0.9524 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.8024, allocations: 72.19 kB / 0.9525 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.8025, allocations: 33.83 kB / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.8025, allocations: 0 / 0.9525 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.648e-05/0.8026, allocations: 35.73 kB / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.8026, allocations: 0 / 0.9526 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0004164/0.803, allocations: 113.2 kB / 0.9527 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.027e-05/0.803, allocations: 56.66 kB / 0.9527 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.01e-05/0.8031, allocations: 106.8 kB / 0.9528 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.8031, allocations: 25.7 kB / 0.9528 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.8031, allocations: 86.42 kB / 0.9529 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.741e-05/0.8032, allocations: 17.22 kB / 0.9529 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.8032, allocations: 22.27 kB / 0.953 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.8033, allocations: 324.4 kB / 0.9533 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.8034, allocations: 23.91 kB / 0.9533 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.02e-05/0.8035, allocations: 21.2 kB / 0.9533 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.8037, allocations: 50.41 kB / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.8037, allocations: 0 / 0.9534 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002212/0.8039, allocations: 97.41 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.8039, allocations: 5.688 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8039, allocations: 0 / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.804, allocations: 1.5 kB / 0.9535 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.8041, allocations: 11.86 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.8041, allocations: 1.469 kB / 0.9535 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.689e-05/0.8042, allocations: 6.859 kB / 0.9535 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.8042, allocations: 1.438 kB / 0.9535 GB, free: 5.812 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.052e-05/0.8042, allocations: 120.7 kB / 0.9536 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.8043, allocations: 5.375 kB / 0.9536 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.8043, allocations: 13.17 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.8043, allocations: 1.312 kB / 0.9536 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.8043, allocations: 3.938 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8043, allocations: 0 / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.8045, allocations: 172.3 kB / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8045, allocations: 0 / 0.9538 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.8046, allocations: 13.95 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.8046, allocations: 7.984 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.8046, allocations: 0 / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8046, allocations: 1.344 kB / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8046, allocations: 0 / 0.9538 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002533/0.8048, allocations: 184.9 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.255e-05/0.8049, allocations: 82.48 kB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.791e-05/0.8049, allocations: 0 / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.805, allocations: 19.95 kB / 0.9541 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.742e-05/0.8051, allocations: 11.52 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.8051, allocations: 1.281 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.8051, allocations: 81.47 kB / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.753e-06/0.8051, allocations: 0 / 0.9542 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002257/0.8054, allocations: 18.44 kB / 0.9542 GB, free: 5.074 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.0004756/0.8058, allocations: 0.7177 MB / 0.9549 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.8061, allocations: 54.48 kB / 0.9549 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.8061, allocations: 0 / 0.9549 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.8062, allocations: 34.66 kB / 0.955 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.8065, allocations: 10.31 kB / 0.955 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.8078, allocations: 1.321 MB / 0.9563 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.915e-05/0.8079, allocations: 0.6892 MB / 0.957 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.426e-05/0.808, allocations: 2.469 kB / 0.957 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.808, allocations: 23.5 kB / 0.957 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.808, allocations: 0 / 0.957 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.8281, allocations: 1.791 MB / 0.9587 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.714/8.542, allocations: 14.67 kB / 0.9587 GB, free: 1.359 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 & 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