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.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.001782/0.001782, allocations: 106.9 kB / 16.45 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.002322/0.002322, 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.533/1.533, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.817/2.817, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: 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.002076/0.002076, allocations: 74.23 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8736, allocations: 169.9 MB / 1.278 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.AddParameter): time 0.002028/0.8756, allocations: 0.7186 MB / 1.279 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0012/0.8768, allocations: 0.8627 MB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.8768, allocations: 0 / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.8769, allocations: 7.938 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.877, allocations: 11.91 kB / 1.28 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.8771, allocations: 23.98 kB / 1.28 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.8773, allocations: 47.84 kB / 1.28 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.8774, allocations: 12 kB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.176e-05/0.8775, allocations: 19.91 kB / 1.28 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.8776, allocations: 27.91 kB / 1.28 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.8776, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.41e-05/0.8776, allocations: 4 kB / 1.28 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.8776, allocations: 8 kB / 1.28 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.8777, allocations: 23.86 kB / 1.28 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.8778, allocations: 49.61 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8778, allocations: 0 / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.364e-06/0.8778, allocations: 4 kB / 1.28 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.8778, allocations: 0 / 1.28 GB, free: 11.57 MB / 0.9825 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.0006246/0.8784, allocations: 359.3 kB / 1.28 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8785, allocations: 8.031 kB / 1.28 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.459e-05/0.8785, allocations: 34.69 kB / 1.28 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/0.8786, allocations: 8.891 kB / 1.28 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001876/0.8788, allocations: 168.3 kB / 1.281 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.8788, allocations: 4.375 kB / 1.281 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.8788, allocations: 8.125 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.879, allocations: 65.66 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.879, allocations: 3.938 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.879, allocations: 3.984 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.879, allocations: 0 / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002313/0.8793, allocations: 59.88 kB / 1.281 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.8798, allocations: 288.8 kB / 1.281 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002235/0.88, allocations: 66.56 kB / 1.281 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.8801, allocations: 28.83 kB / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.8802, allocations: 0 / 1.281 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.8802, allocations: 34.56 kB / 1.281 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.8802, allocations: 4 kB / 1.281 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004779/0.8807, allocations: 113.6 kB / 1.281 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.8807, allocations: 51.41 kB / 1.281 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.8808, allocations: 106.1 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.8808, allocations: 29.7 kB / 1.281 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.8809, allocations: 84.14 kB / 1.282 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.8809, allocations: 15.91 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.8809, allocations: 17.7 kB / 1.282 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.8811, allocations: 322.8 kB / 1.282 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.8812, allocations: 27.91 kB / 1.282 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.467e-05/0.8813, allocations: 19.98 kB / 1.282 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.8815, allocations: 57.08 kB / 1.282 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.8815, allocations: 4 kB / 1.282 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002594/0.8818, allocations: 81.64 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.8818, allocations: 10.5 kB / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.8818, allocations: 0 / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.8818, allocations: 0 / 1.282 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.882, allocations: 11.98 kB / 1.282 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.882, allocations: 11.94 kB / 1.282 GB, free: 9.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.264e-05/0.8821, allocations: 7.984 kB / 1.282 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.8821, allocations: 11.94 kB / 1.282 GB, free: 9.25 MB / 0.9825 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 9.757e-05/0.8822, allocations: 109.8 kB / 1.282 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.8822, allocations: 7.953 kB / 1.282 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.724e-05/0.8822, allocations: 7.906 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.8822, allocations: 0 / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.8822, allocations: 3.984 kB / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.8822, allocations: 0 / 1.282 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.8825, allocations: 177.7 kB / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.8825, allocations: 0 / 1.282 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.409e-05/0.8826, allocations: 19.98 kB / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.8826, allocations: 0 / 1.282 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.8826, allocations: 7.984 kB / 1.282 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8826, allocations: 0 / 1.282 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8826, allocations: 3.938 kB / 1.282 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.8829, allocations: 187.4 kB / 1.283 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.8829, allocations: 89 kB / 1.283 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.8829, allocations: 4 kB / 1.283 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.573e-05/0.883, allocations: 3.984 kB / 1.283 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.8831, allocations: 8 kB / 1.283 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.8831, allocations: 7.984 kB / 1.283 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.084e-05/0.8832, allocations: 87.22 kB / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8832, allocations: 0 / 1.283 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002151/0.8834, allocations: 8 kB / 1.283 GB, free: 8.426 MB / 0.9825 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.0006557/0.884, allocations: 0.713 MB / 1.283 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002829/0.8843, allocations: 63.88 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8843, allocations: 0 / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.8844, allocations: 31.97 kB / 1.284 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.8847, allocations: 8 kB / 1.284 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.8864, allocations: 1.319 MB / 1.285 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.8867, allocations: 0.6807 MB / 1.286 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.8868, allocations: 8 kB / 1.286 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.775e-05/0.8868, allocations: 19.42 kB / 1.286 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of SimCode: time 4.31e-07/0.8868, allocations: 0 / 1.286 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.915, allocations: 1.84 MB / 1.287 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/9.037, allocations: 16.23 kB / 1.287 GB, free: 3.699 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.329481231048703]