Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001296/0.001296, allocations: 113 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.002313/0.002313, allocations: 209.3 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.556/1.556, allocations: 230.6 MB / 256 MB, free: 8.012 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.891/2.891, allocations: 476.8 MB / 0.7707 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 176] 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.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",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.002044/0.002044, allocations: 66.8 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 170 MB / 1.283 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.002108/0.3738, allocations: 0.677 MB / 1.284 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.375, allocations: 0.8511 MB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.3751, allocations: 0 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.3751, allocations: 4 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.25e-05/0.3752, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.3754, allocations: 7.984 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.094e-05/0.3755, allocations: 31.86 kB / 1.285 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001045/0.3756, allocations: 4 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.434e-05/0.3756, allocations: 8 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.825e-05/0.3757, allocations: 15.91 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.3757, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.307e-05/0.3758, allocations: 8 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.3758, allocations: 3.938 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.516e-05/0.3758, allocations: 11.92 kB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.3759, allocations: 28.61 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3759, allocations: 0 / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3759, allocations: 0 / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.376, allocations: 7.938 kB / 1.285 GB, free: 9.957 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005452/0.3765, allocations: 262.3 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.3765, allocations: 8.031 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.628e-05/0.3766, allocations: 38.69 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.3767, allocations: 4.938 kB / 1.285 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.3768, allocations: 110.5 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3769, allocations: 4.375 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.3769, allocations: 384 / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3771, allocations: 54.23 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3771, allocations: 3.938 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3771, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.3771, allocations: 0 / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3773, allocations: 31.97 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.3777, allocations: 223.9 kB / 1.286 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001343/0.3778, allocations: 46.53 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.705e-05/0.3779, allocations: 20.91 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.3779, allocations: 0 / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.378, allocations: 34.56 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.378, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003646/0.3783, allocations: 85.58 kB / 1.286 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.3784, allocations: 55.41 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.3785, allocations: 97.84 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3785, allocations: 25.7 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.3786, allocations: 84.14 kB / 1.286 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.3786, allocations: 7.891 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.3786, allocations: 13.84 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3788, allocations: 322.8 kB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.021e-05/0.3789, allocations: 15.98 kB / 1.287 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.3789, allocations: 15.98 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001437/0.3791, allocations: 36.83 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.3791, allocations: 8 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001894/0.3793, allocations: 65.59 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.3793, allocations: 8 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3793, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3793, allocations: 0 / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.939e-05/0.3794, allocations: 15.92 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.3794, allocations: 0 / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.481e-05/0.3794, allocations: 11.92 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.3794, allocations: 8.031 kB / 1.287 GB, free: 8.074 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: 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 9.233e-05/0.3795, allocations: 113.8 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.3796, allocations: 3.953 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3798, allocations: 72.91 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3798, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3798, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3798, allocations: 0 / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.38, allocations: 136.7 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.38, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.3801, allocations: 8 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.3801, allocations: 3.984 kB / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3801, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3801, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3801, allocations: 0 / 1.287 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.3803, allocations: 167.6 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.3803, allocations: 7.984 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.3803, allocations: 0 / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.3804, allocations: 4 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.3805, allocations: 11.92 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3805, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.3805, allocations: 79.28 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002138/0.3807, allocations: 8.031 kB / 1.287 GB, free: 7.398 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: 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.0006337/0.3814, allocations: 0.6929 MB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3816, allocations: 36 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3816, allocations: 3.938 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.586e-05/0.3817, allocations: 19.98 kB / 1.288 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.382, allocations: 3.984 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3825, allocations: 135.9 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/0.3828, allocations: 0.6769 MB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.583e-05/0.3828, allocations: 7.984 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.233e-05/0.3829, allocations: 11.44 kB / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3829, allocations: 0 / 1.289 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.4128, allocations: 1.373 MB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.2, allocations: 5.875 kB / 1.29 GB, free: 4.469 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_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_Reals_Validation_Cos.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable cos1.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.28828799400071]