Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 112.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 225.6 MB / 249.3 MB, free: 3.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.526/2.526, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 1.107 GB, free: 5.129 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7964/0.7984, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001607/0.8, allocations: 0.7174 MB / 1.272 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0007422/0.8007, allocations: 0.8377 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.072e-05/0.8008, allocations: 0.8125 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.325e-05/0.8008, allocations: 0.6094 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.643e-05/0.8009, allocations: 10.06 kB / 1.273 GB, free: 6.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.801, allocations: 26.84 kB / 1.273 GB, free: 6.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.677e-05/0.8011, allocations: 47.81 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.021e-05/0.8012, allocations: 10.84 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.148e-05/0.8012, allocations: 22.72 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.015e-05/0.8013, allocations: 25.27 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.8013, allocations: 3.906 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.8013, allocations: 4.312 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.8013, allocations: 8.688 kB / 1.273 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.8014, allocations: 21.48 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 9.742e-05/0.8015, allocations: 49.39 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.8015, allocations: 4 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8015, allocations: 0.8125 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8015, allocations: 3.938 kB / 1.273 GB, free: 6.508 MB / 0.9981 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.0003913/0.8019, allocations: 352.9 kB / 1.273 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.8019, allocations: 13.53 kB / 1.273 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.721e-05/0.8019, allocations: 36.81 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.374e-05/0.8019, allocations: 7.109 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.802, allocations: 164.8 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.802, allocations: 6.031 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.802, allocations: 6.625 kB / 1.274 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.8022, allocations: 68.94 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.8022, allocations: 0 / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.8022, allocations: 4.938 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.8022, allocations: 1.312 kB / 1.274 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002026/0.8025, allocations: 56.02 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.8028, allocations: 297.8 kB / 1.274 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.803, allocations: 61.23 kB / 1.274 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.8031, allocations: 34.83 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.8031, allocations: 0.7812 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.8031, allocations: 40.06 kB / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.8031, allocations: 0 / 1.274 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003688/0.8035, allocations: 106 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.084e-05/0.8035, allocations: 53.25 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.019e-05/0.8035, allocations: 110.1 kB / 1.274 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/0.8035, allocations: 26.83 kB / 1.275 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.324e-05/0.8036, allocations: 90.8 kB / 1.275 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.52e-05/0.8036, allocations: 12.83 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.8036, allocations: 13.31 kB / 1.275 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.647e-05/0.8036, allocations: 321.6 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.517e-05/0.8037, allocations: 23.88 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-05/0.8038, allocations: 23.62 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.804, allocations: 61.33 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.804, allocations: 0 / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002087/0.8042, allocations: 85.25 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.8042, allocations: 5.219 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8042, allocations: 0.7188 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.8042, allocations: 0.9062 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.8043, allocations: 12.72 kB / 1.275 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.8043, allocations: 4 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.31e-05/0.8044, allocations: 11.27 kB / 1.275 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.8044, allocations: 5.5 kB / 1.275 GB, free: 4.66 MB / 0.9981 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 4.445e-05/0.8045, allocations: 112.3 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.8045, allocations: 3.672 kB / 1.275 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/0.8045, allocations: 9.812 kB / 1.275 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.8045, allocations: 3.938 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.8045, allocations: 1.125 kB / 1.275 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.8045, allocations: 4 kB / 1.275 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.8046, allocations: 182.1 kB / 1.275 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8046, allocations: 4.625 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.762e-05/0.8047, allocations: 13.2 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8047, allocations: 1.094 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.8047, allocations: 1.641 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8047, allocations: 0.9062 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8047, allocations: 1.031 kB / 1.275 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.805, allocations: 190.8 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.631e-05/0.805, allocations: 87.86 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.805, allocations: 1.5 kB / 1.276 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.8051, allocations: 10.95 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/0.8051, allocations: 9.828 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.8051, allocations: 4.594 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.39e-05/0.8052, allocations: 89.91 kB / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.8052, allocations: 0 / 1.276 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002108/0.8054, allocations: 10.66 kB / 1.276 GB, free: 3.957 MB / 0.9981 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.0003778/0.8057, allocations: 0.7138 MB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002343/0.806, allocations: 60.09 kB / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.806, allocations: 0 / 1.277 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.8061, allocations: 28.59 kB / 1.277 GB, free: 3.27 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.8063, allocations: 13.78 kB / 1.277 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.8075, allocations: 1.324 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.8077, allocations: 0.6854 MB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.588e-05/0.8078, allocations: 4.266 kB / 1.279 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.8078, allocations: 19.03 kB / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of SimCode: time 2.8e-07/0.8078, allocations: 0 / 1.279 GB, free: 17.34 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.8292, allocations: 1.833 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/7.691, allocations: 8.438 kB / 1.28 GB, free: 16.94 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable addPar.u in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! Error: Could not read variable addPar.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.143546439001511]