Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001361/0.001361, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001613/0.001613, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 8.043 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.275/3.275, allocations: 0.505 GB / 0.8101 GB, free: 22.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.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.002652/0.002652, allocations: 65.31 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3775, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001945/0.3795, allocations: 0.677 MB / 1.354 GB, free: 7.785 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.3805, allocations: 0.8203 MB / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.3805, allocations: 0 / 1.354 GB, free: 6.953 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.3805, allocations: 3.938 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.155e-05/0.3806, allocations: 0 / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 5.051e-05/0.3806, allocations: 4 kB / 1.354 GB, free: 6.945 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.3807, allocations: 31.91 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.942e-05/0.3808, allocations: 0 / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 6.296e-05/0.3809, allocations: 15.92 kB / 1.354 GB, free: 6.898 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.677e-05/0.3809, allocations: 11.98 kB / 1.354 GB, free: 6.887 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.3809, allocations: 8 kB / 1.354 GB, free: 6.879 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.29e-06/0.3809, allocations: 3.938 kB / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.3809, allocations: 0 / 1.354 GB, free: 6.875 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.532e-05/0.381, allocations: 11.94 kB / 1.354 GB, free: 6.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 9.876e-05/0.3811, allocations: 24.12 kB / 1.354 GB, free: 6.84 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3811, allocations: 3.984 kB / 1.354 GB, free: 6.836 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3811, allocations: 3.938 kB / 1.354 GB, free: 6.832 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.3811, allocations: 0 / 1.354 GB, free: 6.832 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005278/0.3816, allocations: 270.3 kB / 1.355 GB, free: 6.535 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3817, allocations: 8.031 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.3817, allocations: 34.75 kB / 1.355 GB, free: 6.484 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.494e-05/0.3817, allocations: 8.891 kB / 1.355 GB, free: 6.477 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.3818, allocations: 110.5 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.3819, allocations: 4.375 kB / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.3819, allocations: 384 / 1.355 GB, free: 6.34 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.382, allocations: 54.22 kB / 1.355 GB, free: 6.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.382, allocations: 3.938 kB / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.3821, allocations: 0 / 1.355 GB, free: 6.277 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3821, allocations: 4 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3822, allocations: 39.89 kB / 1.355 GB, free: 6.234 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.3826, allocations: 212.1 kB / 1.355 GB, free: 5.984 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001261/0.3827, allocations: 38.5 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.3828, allocations: 32.89 kB / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.3828, allocations: 0 / 1.355 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3828, allocations: 34.56 kB / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3828, allocations: 0 / 1.355 GB, free: 5.859 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003367/0.3832, allocations: 85.67 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.3832, allocations: 59.39 kB / 1.355 GB, free: 5.699 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.711e-05/0.3833, allocations: 101.9 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.3833, allocations: 25.7 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.3834, allocations: 84.14 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.3834, allocations: 15.88 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.3834, allocations: 9.719 kB / 1.356 GB, free: 5.441 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.3836, allocations: 314.8 kB / 1.356 GB, free: 5.125 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.395e-05/0.3836, allocations: 19.98 kB / 1.356 GB, free: 5.105 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.3837, allocations: 15.98 kB / 1.356 GB, free: 5.09 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.3839, allocations: 44.75 kB / 1.356 GB, free: 5.043 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3839, allocations: 3.938 kB / 1.356 GB, free: 5.039 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002074/0.3841, allocations: 65.73 kB / 1.356 GB, free: 4.969 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3841, allocations: 7.984 kB / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.207e-06/0.3841, allocations: 0 / 1.356 GB, free: 4.961 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3841, allocations: 3.938 kB / 1.356 GB, free: 4.957 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.3842, allocations: 8 kB / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3842, allocations: 0 / 1.356 GB, free: 4.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3842, allocations: 7.984 kB / 1.356 GB, free: 4.941 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.3842, allocations: 0 / 1.356 GB, free: 4.941 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.63e-05/0.3843, allocations: 121.8 kB / 1.356 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/0.3844, allocations: 4 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.588e-05/0.3844, allocations: 3.312 kB / 1.356 GB, free: 4.809 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.3844, allocations: 3.984 kB / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3844, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3844, allocations: 0 / 1.356 GB, free: 4.805 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.3845, allocations: 132.7 kB / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3845, allocations: 0 / 1.356 GB, free: 4.633 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.3846, allocations: 15.86 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.3846, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.3846, allocations: 0 / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3846, allocations: 4 kB / 1.356 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3846, allocations: 4 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3849, allocations: 167.4 kB / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.643e-06/0.3849, allocations: 0 / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.3849, allocations: 256 / 1.357 GB, free: 4.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.918e-05/0.385, allocations: 12.02 kB / 1.357 GB, free: 4.418 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.803e-05/0.385, allocations: 8 kB / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.385, allocations: 0 / 1.357 GB, free: 4.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.385, allocations: 83.28 kB / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.385, allocations: 0 / 1.357 GB, free: 4.328 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002516/0.3853, allocations: 3.984 kB / 1.357 GB, free: 4.324 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005642/0.3859, allocations: 0.6967 MB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.3861, allocations: 35.97 kB / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3861, allocations: 0 / 1.357 GB, free: 3.562 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.381e-05/0.3861, allocations: 24 kB / 1.357 GB, free: 3.539 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.3865, allocations: 8.062 kB / 1.357 GB, free: 3.531 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004394/0.3869, allocations: 135.2 kB / 1.358 GB, free: 3.359 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.3872, allocations: 0.6768 MB / 1.358 GB, free: 2.656 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.276e-05/0.3872, allocations: 4 kB / 1.358 GB, free: 2.652 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3873, allocations: 7.438 kB / 1.358 GB, free: 2.645 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.3873, allocations: 3.938 kB / 1.358 GB, free: 2.641 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.416, allocations: 1.402 MB / 1.36 GB, free: 1.367 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.3, allocations: 25.31 kB / 1.36 GB, free: 1.348 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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_Reals_Validation_AddParameter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.Reals.Validation.AddParameter_res.csv. Warning: Get data of variable addPar.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.288057880999986]