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.001557/0.001557, allocations: 108 kB / 15.6 MB, free: 132 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.001805/0.001805, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.406/2.406, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 71.88 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5727/0.574, allocations: 140.4 MB / 0.9497 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001813/0.5758, allocations: 0.6857 MB / 0.9504 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007689/0.5766, allocations: 0.8398 MB / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.5766, allocations: 0 / 0.9512 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.644e-05/0.5767, allocations: 5.25 kB / 0.9512 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.5767, allocations: 7.922 kB / 0.9512 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.5769, allocations: 28.75 kB / 0.9513 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.406e-05/0.577, allocations: 43.36 kB / 0.9513 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.5771, allocations: 17.52 kB / 0.9513 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.358e-05/0.5772, allocations: 23.56 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.5773, allocations: 21.83 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.5773, allocations: 4.125 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.5773, allocations: 4.406 kB / 0.9514 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.5774, allocations: 13.73 kB / 0.9514 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.357e-05/0.5774, allocations: 19.2 kB / 0.9514 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.642e-05/0.5775, allocations: 44.52 kB / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.5775, allocations: 0 / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.333e-06/0.5775, allocations: 0 / 0.9514 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.127e-06/0.5775, allocations: 5.375 kB / 0.9515 GB, free: 7.652 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.0004621/0.578, allocations: 369.8 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.578, allocations: 9.156 kB / 0.9518 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.953e-05/0.5781, allocations: 30.75 kB / 0.9518 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.448e-05/0.5781, allocations: 7.688 kB / 0.9519 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/0.5782, allocations: 174.4 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.5782, allocations: 2.688 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.5783, allocations: 7.062 kB / 0.952 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.5784, allocations: 75.7 kB / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.5785, allocations: 0 / 0.9521 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.5785, allocations: 4 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.5785, allocations: 1.312 kB / 0.9521 GB, free: 6.945 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001997/0.5787, allocations: 47.73 kB / 0.9522 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.5791, allocations: 297.1 kB / 0.9524 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.5793, allocations: 60.89 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.5794, allocations: 32.31 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.5794, allocations: 1.344 kB / 0.9525 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.5794, allocations: 34.56 kB / 0.9526 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.5794, allocations: 5.469 kB / 0.9526 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003806/0.5798, allocations: 108.5 kB / 0.9527 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/0.5798, allocations: 51.41 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.803e-05/0.5799, allocations: 112.1 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.5799, allocations: 25.7 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/0.5799, allocations: 85.59 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.876e-05/0.58, allocations: 17.16 kB / 0.9529 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.58, allocations: 19.12 kB / 0.953 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.5801, allocations: 324 kB / 0.9533 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.5802, allocations: 23.92 kB / 0.9533 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.882e-05/0.5803, allocations: 24.38 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/0.5805, allocations: 54.94 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5805, allocations: 4 kB / 0.9534 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002255/0.5807, allocations: 81.53 kB / 0.9535 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.5807, allocations: 9.609 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5807, allocations: 0 / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.5807, allocations: 0.9688 kB / 0.9535 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.5809, allocations: 12.77 kB / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.5809, allocations: 0 / 0.9535 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.619e-05/0.581, allocations: 8.594 kB / 0.9535 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.581, allocations: 9.453 kB / 0.9535 GB, free: 5.645 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 5.253e-05/0.581, allocations: 112 kB / 0.9536 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.5811, allocations: 6 kB / 0.9536 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.102e-05/0.5811, allocations: 9.031 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.5811, allocations: 5.484 kB / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5811, allocations: 0 / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5811, allocations: 0 / 0.9536 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.5812, allocations: 176.3 kB / 0.9538 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5812, allocations: 3.984 kB / 0.9538 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.985e-05/0.5813, allocations: 20.7 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5813, allocations: 1.188 kB / 0.9538 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.5814, allocations: 4 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5814, allocations: 1.344 kB / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.5814, allocations: 0 / 0.9538 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.5816, allocations: 180.5 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.5817, allocations: 86.2 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.5817, allocations: 5.406 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.467e-05/0.5818, allocations: 6.922 kB / 0.9541 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.838e-05/0.5818, allocations: 12.36 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.5819, allocations: 1.312 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.5819, allocations: 96.91 kB / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5819, allocations: 0 / 0.9542 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002132/0.5821, allocations: 10.97 kB / 0.9542 GB, free: 4.906 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.0004061/0.5825, allocations: 0.7168 MB / 0.9549 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5828, allocations: 54.91 kB / 0.9549 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5828, allocations: 3.938 kB / 0.955 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.5829, allocations: 38.39 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.5832, allocations: 8.703 kB / 0.955 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.5843, allocations: 1.311 MB / 0.9563 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.812e-05/0.5844, allocations: 0.6878 MB / 0.9569 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.714e-05/0.5844, allocations: 7.234 kB / 0.957 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.5845, allocations: 15.12 kB / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5845, allocations: 0 / 0.957 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.7009, allocations: 1.795 MB / 0.9587 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.554, allocations: 6.016 kB / 0.9587 GB, free: 1.203 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