Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 111 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.224/3.224, allocations: 0.505 GB / 0.8066 GB, free: 23.06 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 70.47 kB / 1.172 GB, free: 17.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 180.2 MB / 1.348 GB, free: 9.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.001963/0.3709, allocations: 0.6991 MB / 1.348 GB, free: 9.262 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.372, allocations: 0.867 MB / 1.349 GB, free: 8.383 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.3721, allocations: 4 kB / 1.349 GB, free: 8.379 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.3721, allocations: 7.922 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.206e-05/0.3722, allocations: 3.938 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.3724, allocations: 15.98 kB / 1.349 GB, free: 8.352 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.3725, allocations: 51.84 kB / 1.349 GB, free: 8.301 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.3726, allocations: 11.98 kB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.355e-05/0.3727, allocations: 19.92 kB / 1.349 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.116e-05/0.3728, allocations: 23.91 kB / 1.349 GB, free: 8.246 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.3728, allocations: 4 kB / 1.349 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.328e-05/0.3728, allocations: 8 kB / 1.349 GB, free: 8.234 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.3728, allocations: 11.98 kB / 1.349 GB, free: 8.223 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.165e-05/0.3729, allocations: 23.86 kB / 1.349 GB, free: 8.199 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.373, allocations: 48.02 kB / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.373, allocations: 0 / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.394e-06/0.373, allocations: 0 / 1.35 GB, free: 8.152 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.373, allocations: 0 / 1.35 GB, free: 8.152 MB / 1.045 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.000649/0.3737, allocations: 359.3 kB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.3737, allocations: 11.98 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3738, allocations: 30.75 kB / 1.35 GB, free: 7.703 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.146e-05/0.3738, allocations: 12.88 kB / 1.35 GB, free: 7.691 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.374, allocations: 172.3 kB / 1.35 GB, free: 7.484 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.374, allocations: 4.375 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.727e-05/0.374, allocations: 8.125 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002372/0.3743, allocations: 73.61 kB / 1.35 GB, free: 7.395 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.3743, allocations: 3.984 kB / 1.35 GB, free: 7.391 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3743, allocations: 7.938 kB / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.3743, allocations: 0 / 1.35 GB, free: 7.383 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002235/0.3745, allocations: 55.89 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004956/0.375, allocations: 284.8 kB / 1.351 GB, free: 7 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.3752, allocations: 62.53 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.3754, allocations: 36.86 kB / 1.351 GB, free: 6.891 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.3754, allocations: 4 kB / 1.351 GB, free: 6.887 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3754, allocations: 34.55 kB / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.3754, allocations: 0 / 1.351 GB, free: 6.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004384/0.3758, allocations: 105.6 kB / 1.351 GB, free: 6.734 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3759, allocations: 51.41 kB / 1.351 GB, free: 6.672 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.586e-05/0.376, allocations: 105.8 kB / 1.351 GB, free: 6.559 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.376, allocations: 33.7 kB / 1.351 GB, free: 6.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.3761, allocations: 88.09 kB / 1.351 GB, free: 6.43 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.983e-05/0.3761, allocations: 3.953 kB / 1.351 GB, free: 6.426 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/0.3761, allocations: 25.7 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3763, allocations: 318.8 kB / 1.351 GB, free: 6.074 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.3764, allocations: 27.91 kB / 1.351 GB, free: 6.047 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.533e-05/0.3765, allocations: 19.98 kB / 1.351 GB, free: 6.027 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3767, allocations: 56.81 kB / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3767, allocations: 0 / 1.351 GB, free: 5.969 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002559/0.3769, allocations: 89.59 kB / 1.352 GB, free: 5.875 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.377, allocations: 6.031 kB / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.377, allocations: 0 / 1.352 GB, free: 5.871 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.377, allocations: 4 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3771, allocations: 15.98 kB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3771, allocations: 7.938 kB / 1.352 GB, free: 5.844 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.212e-05/0.3772, allocations: 11.92 kB / 1.352 GB, free: 5.832 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3772, allocations: 3.938 kB / 1.352 GB, free: 5.828 MB / 1.045 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 8.738e-05/0.3773, allocations: 113.8 kB / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.3773, allocations: 0 / 1.352 GB, free: 5.707 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.93e-05/0.3773, allocations: 11.89 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.3773, allocations: 0 / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3773, allocations: 7.938 kB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3774, allocations: 4.328 kB / 1.352 GB, free: 5.672 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001945/0.3775, allocations: 173.7 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3775, allocations: 3.938 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.3777, allocations: 19.97 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3777, allocations: 0 / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3777, allocations: 3.984 kB / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3777, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.3777, allocations: 0 / 1.352 GB, free: 5.426 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.378, allocations: 191.3 kB / 1.352 GB, free: 5.223 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.022e-05/0.3781, allocations: 81.11 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.3781, allocations: 4 kB / 1.352 GB, free: 5.121 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.3782, allocations: 7.984 kB / 1.352 GB, free: 5.113 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/0.3782, allocations: 11.98 kB / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.3782, allocations: 0 / 1.352 GB, free: 5.102 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.574e-05/0.3783, allocations: 87.22 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3783, allocations: 4 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002244/0.3785, allocations: 8 kB / 1.352 GB, free: 5.004 MB / 1.045 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.0006605/0.3792, allocations: 0.7124 MB / 1.353 GB, free: 4.266 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3795, allocations: 63.89 kB / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3795, allocations: 0 / 1.353 GB, free: 4.203 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.3796, allocations: 27.97 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002968/0.3799, allocations: 4 kB / 1.353 GB, free: 4.172 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.3816, allocations: 1.323 MB / 1.354 GB, free: 2.77 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.382, allocations: 0.6846 MB / 1.355 GB, free: 2.059 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.367e-05/0.382, allocations: 11.92 kB / 1.355 GB, free: 2.047 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.3821, allocations: 15.44 kB / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3821, allocations: 0 / 1.355 GB, free: 2.031 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.4061, allocations: 1.845 MB / 1.357 GB, free: 308 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.634, allocations: 5.875 kB / 1.357 GB, free: 304 kB / 1.045 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! Error: Could not read variable addPar.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.646276688203216]