Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002036/0.002036, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002274/0.002274, allocations: 215.8 kB / 22.25 MB, free: 5.242 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.558/1.558, allocations: 230.6 MB / 256 MB, free: 7.793 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.369/3.369, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_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.002069/0.002069, allocations: 71.16 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.375, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0023/0.3773, allocations: 0.6787 MB / 1.364 GB, free: 13.39 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.3785, allocations: 0.8475 MB / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.3785, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.3785, allocations: 0 / 1.365 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.3786, allocations: 7.938 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.3787, allocations: 7.984 kB / 1.365 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.168e-05/0.3788, allocations: 35.91 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 6.647e-05/0.3788, allocations: 0 / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.3789, allocations: 11.94 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.3789, allocations: 11.98 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.3789, allocations: 4 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 3.564e-05/0.379, allocations: 7.938 kB / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.538e-06/0.379, allocations: 0 / 1.365 GB, free: 12.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.379, allocations: 11.92 kB / 1.365 GB, free: 12.43 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.3791, allocations: 32.11 kB / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3791, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.3791, allocations: 0 / 1.365 GB, free: 12.4 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.3791, allocations: 4 kB / 1.365 GB, free: 12.4 MB / 1.061 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.0003792/0.3795, allocations: 258.4 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.3795, allocations: 8.031 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.3795, allocations: 34.75 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.3796, allocations: 4.891 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.3797, allocations: 114.5 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.3797, allocations: 384 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-06/0.3797, allocations: 384 / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.3799, allocations: 50.23 kB / 1.365 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3799, allocations: 7.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-06/0.3799, allocations: 0 / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-06/0.3799, allocations: 3.938 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.3801, allocations: 31.97 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.3804, allocations: 216 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.3806, allocations: 42.48 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.3806, allocations: 24.91 kB / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.3807, allocations: 0 / 1.366 GB, free: 11.49 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.3807, allocations: 42.48 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.3807, allocations: 3.938 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.381, allocations: 77.61 kB / 1.366 GB, free: 11.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.3811, allocations: 55.39 kB / 1.366 GB, free: 11.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.3812, allocations: 101.9 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.3812, allocations: 25.83 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.3813, allocations: 88.08 kB / 1.366 GB, free: 11.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.858e-05/0.3813, allocations: 7.953 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3813, allocations: 17.7 kB / 1.366 GB, free: 11.03 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3815, allocations: 310.8 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.334e-05/0.3816, allocations: 15.98 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.3816, allocations: 15.98 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.3818, allocations: 48.81 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3818, allocations: 3.938 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001997/0.382, allocations: 61.67 kB / 1.367 GB, free: 10.56 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.382, allocations: 8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.382, allocations: 3.984 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.3821, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.159e-05/0.3821, allocations: 4 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3821, allocations: 0 / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3822, allocations: 12.02 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.3822, allocations: 4 kB / 1.367 GB, free: 10.53 MB / 1.061 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.316e-05/0.3823, allocations: 109.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.3823, allocations: 0 / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002401/0.3825, allocations: 76.91 kB / 1.367 GB, free: 10.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3826, allocations: 3.984 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3826, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3826, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3827, allocations: 128.7 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.3827, allocations: 8 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.3828, allocations: 7.984 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3828, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3828, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3828, allocations: 0 / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.3828, allocations: 4 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.3831, allocations: 171.3 kB / 1.367 GB, free: 9.953 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.734e-06/0.3831, allocations: 4.031 kB / 1.367 GB, free: 9.949 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.3831, allocations: 3.984 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.3832, allocations: 4 kB / 1.367 GB, free: 9.941 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3832, allocations: 3.984 kB / 1.367 GB, free: 9.938 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.3832, allocations: 4 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.738e-05/0.3833, allocations: 79.28 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3833, allocations: 3.938 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002132/0.3835, allocations: 7.938 kB / 1.367 GB, free: 9.844 MB / 1.061 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.0006423/0.3841, allocations: 0.6967 MB / 1.368 GB, free: 9.117 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002105/0.3843, allocations: 35.95 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3843, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.901e-05/0.3844, allocations: 15.98 kB / 1.368 GB, free: 9.066 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.3847, allocations: 8 kB / 1.368 GB, free: 9.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.3852, allocations: 136.1 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.326e-05/0.3853, allocations: 59.34 kB / 1.368 GB, free: 8.809 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.3853, allocations: 7.938 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.904e-05/0.3854, allocations: 7.438 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3854, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.4146, allocations: 1.812 MB / 1.37 GB, free: 7.113 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.88, allocations: 16.03 kB / 1.37 GB, free: 7.102 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_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_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv. Warning: Get data of variable cos1.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.061968660913408]